Skip to content

Collision

Defined in: packages/threeplay/src/plugins/physics/types.ts:6

A contact between two objects, as seen from one of them.

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: boolean

Defined in: packages/threeplay/src/plugins/physics/types.ts:10

true if either collider is a sensor (no physical response).