Skip to content

@orillusion/physics


Enumeration: ActivationState

Defined in: packages/physics/rigidbody/RigidbodyEnum.ts:58

Activation states

Enumeration Members

ACTIVE_TAG

ACTIVE_TAG: 1

Defined in: packages/physics/rigidbody/RigidbodyEnum.ts:62

The object is active and will be processed by the simulation.


ISLAND_SLEEPING

ISLAND_SLEEPING: 2

Defined in: packages/physics/rigidbody/RigidbodyEnum.ts:66

The object is inactive but may be activated if other active objects collide with it.


WANTS_DEACTIVATION

WANTS_DEACTIVATION: 3

Defined in: packages/physics/rigidbody/RigidbodyEnum.ts:70

The object is requesting to be deactivated in the next simulation step. If there is no further interaction, the object will enter a sleeping state.


DISABLE_DEACTIVATION

DISABLE_DEACTIVATION: 4

Defined in: packages/physics/rigidbody/RigidbodyEnum.ts:74

Disables automatic sleeping. The object will continue to be simulated even if it is stationary.


DISABLE_SIMULATION

DISABLE_SIMULATION: 5

Defined in: packages/physics/rigidbody/RigidbodyEnum.ts:78

The object will not be simulated by the physics engine, whether dynamic or colliding, but can be moved or manipulated programmatically.