angularVelocity

From Bohemia Interactive Community
Revision as of 17:09, 8 October 2024 by Lou Montana (talk | contribs) (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

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:
Array format 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

See also:
velocity setAngularVelocity angularVelocityModelSpace

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note