ContactPoint
Describes a contact point where the collision occurs.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine
- Assembly: UnityEngine.PhysicsModule
public struct ContactPoint
Remarks
Contact points are stored in Collision structure.
Additional Resources: Collision, Collider.OnCollisionEnter(Collision), Collider.OnCollisionStay(Collision), Collider.OnCollisionExit(Collision).
Properties
Property | Description |
|---|---|
| impulse | The impulse applied to this contact pair to resolve the collision. |
| normal | Normal of the contact point. |
| otherCollider | The other collider in contact at the point. |
| point | The point of contact. |
| separation | The distance between the colliders at the contact point. |
| thisCollider | The first collider in contact at the point. |