SetOmega
This function sets an entity's angular velocity, without interrupting the physics simulation.
Syntax
- SetOmega(Vec3 omega, bool global = true)
- SetOmega(number x, number y, number 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.