|
| void | AddImpulse (u64 entityID, const Crux::vec3 &impulse) |
| | Applies an instantaneous linear impulse to an entity's physics body.
|
| void | AddForce (u64 entityID, const Crux::vec3 &force) |
| | Applies a continuous force to an entity's physics body for the current sub-step.
|
| void | AddTorque (u64 entityID, const Crux::vec3 &torque) |
| | Applies a continuous torque to an entity's physics body for the current sub-step.
|
| void | AddLinearVelocity (u64 entityID, const Crux::vec3 &velocity) |
| | Adds a delta to the current linear velocity of an entity's physics body.
|
| void | SetLinearVelocity (u64 entityID, const Crux::vec3 &velocity) |
| | Overwrites the linear velocity of an entity's physics body.
|
| Crux::vec3 | GetLinearVelocity (u64 entityID) |
| | Returns the current linear velocity of an entity's physics body.
|
| void | AddAngularImpulse (u64 entityID, const Crux::vec3 &impulse) |
| | Applies an instantaneous angular impulse to an entity's physics body.
|
| void | SetAngularVelocity (u64 entityID, const Crux::vec3 &velocity) |
| | Overwrites the angular velocity of an entity's physics body.
|
| Crux::vec3 | GetAngularVelocity (u64 entityID) |
| | Returns the current angular velocity of an entity's physics body.
|
| void | SetGravityFactor (u64 entityID, float factor) |
| | Scales the world gravity vector for a single entity's physics body.
|
| void | SetActive (u64 entityID, bool active) |
| | Activates or deactivates an entity's physics body in the simulation.
|