angularVelocity: Difference between revisions
m (2.16 -> 2.18) |
BrettMayson (talk | contribs) mNo edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.18 | |version1= 2.18 | ||
|arg= global | |arg= global | ||
| Line 16: | Line 14: | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
|r1= | |r1= [[Vector3D]] - angular velocity of the object in world space ([0,0,0] if angular velocity is not supported by the object) | ||
|x1= <sqf>angularVelocity myHeli; // [0.01, 0.03, 0.95]</sqf> | |x1= <sqf>angularVelocity myHeli; // [0.01, 0.03, 0.95]</sqf> | ||
Latest revision as of 06:26, 2 January 2026
Description
- Description:
- Gets the angular velocity of the object in world space as a 3D vector. The units are in Rad/s (radians per second) and rotations are clockwise.
- Groups:
- Object Manipulation
Syntax
- Syntax:
- angularVelocity obj
- Parameters:
- obj: Object
- Return Value:
- Vector3D - angular velocity of the object in world space ([0,0,0] if angular velocity is not supported by the object)
Examples
- Example 1:
- angularVelocity myHeli; // [0.01, 0.03, 0.95]
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note