Arma 3 Scripting

setAngularVelocity

  • Local argument
  • Global effect
  • Arma 3 v2.18

Command · Markdown · JSON · original wiki page

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.

Important

Angular velocity is limited to a range of +-1000 Rad/s.

Syntax

obj setAngularVelocity vector

Parameters:

Returns: Nothing

Examples

Example 1

myHeli setAngularVelocity [0,0,1]; // will cause the helicopter to spin around a vertical line passing through its center

See also

setVelocity · setAngularVelocityModelSpace · angularVelocity