기술 자료

Unity Engine

Unity Engine

ContactPoint

Describes a contact point where the collision occurs.
읽는 시간 1분최근 업데이트: 한 달 전

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.