Arma 3 Scripting

Command in Object Manipulation

angularVelocity

Also available as Markdown and JSON, or read the original wiki page.

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.

Syntax

angularVelocity obj

Parameters:

Returns: 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]

See also

velocity · setAngularVelocity · angularVelocityModelSpace