Arma 3 Scripting

angularVelocity

  • Global argument
  • Arma 3 v2.18

Command · Markdown · JSON · 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