Collision
Defined in: packages/threeplay/src/plugins/physics/types.ts:6
A contact between two objects, as seen from one of them.
Properties
Section titled “Properties”normal
Section titled “normal”normal:
Vector3|null
Defined in: packages/threeplay/src/plugins/physics/types.ts:12
Contact normal pointing from the other object to this one, when known.
other:
GameObj
Defined in: packages/threeplay/src/plugins/physics/types.ts:8
The other object.
sensor
Section titled “sensor”sensor:
boolean
Defined in: packages/threeplay/src/plugins/physics/types.ts:10
true if either collider is a sensor (no physical response).