Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ContactPoint

Describes a contact point where the collision occurs.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public struct ContactPoint

Remarks

Contact points are stored in Collision structure.

Properties

Property

Description

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.