Constructors

  • Parameters

    • obj: Object3D
    • otherCollider: ICollider
    • contacts: ContactPoint[]

    Returns Collision

Accessors

  • get collider(): ICollider
  • the collider the collision happened with

    Returns ICollider

  • get gameObject(): Object3D
  • Returns Object3D

  • get rigidBody(): IRigidbody
  • the rigidbody we hit, null if none attached

    Returns IRigidbody

Generated using TypeDoc