Jump to navigation Jump to search
- Sets the angular velocity of the object in world space as a 3D vector. The units are in Rad/s and rotations are clockwise.
- Object Manipulation
- obj setAngularVelocity vector
- obj: Object
- vector: Array in format Vector3D - angular velocity of the object in world space.
- Return Value:
- Example 1:
- myHeli setAngularVelocity [0,0,1]; // will cause the helicopter to spin around a vertical line passing through its center