기술 자료

Unity Engine


Unity Engine


PolygonAndCircle(PolygonGeometry, PhysicsTransform, CircleGeometry, PhysicsTransform)

Check the intersection between Polygon and Circle geometries.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static PhysicsShape.ContactManifold PolygonAndCircle(PolygonGeometry 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.