ドキュメント

Unity Engine

Unity Engine

SegmentAndCircle(SegmentGeometry, PhysicsTransform, CircleGeometry, PhysicsTransform)

Check the intersection between Segment and Circle geometries.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static PhysicsShape.ContactManifold SegmentAndCircle(SegmentGeometry geometryA, PhysicsTransform transformA, CircleGeometry geometryB, PhysicsTransform transformB)

Parameters

The first geometry to use.

The transform used to specify where the first geometry is positioned.

The second geometry to use.

The transform used to specify where the second geometry is positioned.

Returns

Type

Description

ContactManifoldThe contact manifold fully detailing the intersection.