BodyState

interface BodyState

Kinematic state of a 6-DoF body, expressed in some reference frame.

Deliberately the same shape as the position/velocity half of a FrameState so the simulation can hand one to the integrator and put the result straight back without a translation step that could drop a term.

rigidBody.ts:17

Members

angularVelocityreadonly

angularVelocity: Vec3

orientationreadonly

orientation: Quat

positionreadonly

position: Vec3

velocityreadonly

velocity: Vec3