SetOmega
This function sets an entity's angular velocity, without interrupting the physics simulation.
Syntax
- void SetOmega(const Vec3& omega, bool global = true)
- void SetOmega(const float x, const float y, const float z, bool global = true)
Parameters
- omega: the new angular velocity.
- global: set this to true to set the angular velocity in global space, or use false to set it in local space.