Class CollisionData

Information about a collision between two physics objects.

Constructors

Properties

_contactPoints: ContactPoint[]
_otherCollider: Collider
_otherColliderShape: ColliderShape
_otherController: CharacterController
_thisCollider: Collider
_thisColliderShape: ColliderShape

Accessors

  • get otherCollider(): Collider
  • The collider component that collides with ThisCollider.

    Returns Collider

  • get thisCollider(): Collider
  • The collider component that owns the event.

    Returns Collider

Methods