Constructors
constructor
- new Collision(obj, otherCollider, contacts): Collision
Parameters
- obj: Object3D
- otherCollider: ICollider
- contacts: ContactPoint[]
Accessors
collider
- get collider(): ICollider
Returns ICollider
gameObject
- get gameObject(): Object3D
Returns Object3D
rigidBody
- get rigidBody(): IRigidbody
Returns IRigidbody
the collider the collision happened with