Version: 2023.2
언어: 한국어

ContactPoint

struct in UnityEngine

매뉴얼로 전환

설명

Describes a contact point where the collision occurs.

Contact points are stored in Collision structure.

Additional resources: Collision, Collider.OnCollisionEnter, Collider.OnCollisionStay, Collider.OnCollisionExit.

변수

impulseThe impulse applied to this contact pair to resolve the collision.
normalNormal of the contact point.
otherColliderThe other collider in contact at the point.
pointThe point of contact.
separationThe distance between the colliders at the contact point.
thisColliderThe first collider in contact at the point.