eulerjs API / @eulerjs/core / BodyMotion
BodyMotion
Defined in: packages/core/src/RigidBodyState.ts:13
Where a body is and how it moves: what the world and a backend exchange every step.
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
angularVelocity | readonly | Vector3 | Angular velocity in world space, in rad/s. | packages/core/src/RigidBodyState.ts:20 |
position | readonly | Vector3 | Origin of the body frame in world space. | packages/core/src/RigidBodyState.ts:15 |
quaternion | readonly | Quaternion | - | packages/core/src/RigidBodyState.ts:16 |
velocity | readonly | Vector3 | Velocity of the centre of mass, in m/s. | packages/core/src/RigidBodyState.ts:18 |
