setAngularVelocity: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ") |
BrettMayson (talk | contribs) No edit summary |
||
| Line 17: | Line 17: | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
|p2= vector: [[Array]] | |p2= vector: [[Array]] format [[Vector3D]] - angular velocity of the object in world space. | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Revision as of 07:38, 2 January 2026
Description
- Description:
- Sets the angular velocity of the object in world space as a 3D vector. The units are in Rad/s and rotations are clockwise.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- obj setAngularVelocity vector
- Parameters:
- obj: Object
- vector: Array format Vector3D - angular velocity of the object in world space.
- Return Value:
- Nothing
Examples
- Example 1:
- myHeli setAngularVelocity [0,0,1]; // will cause the helicopter to spin around a vertical line passing through its center
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note