Arma 3 Scripting

setAngularVelocityModelSpace

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

Command · Markdown · JSON · original wiki page

Description

Sets the angular velocity of the object in model 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 setAngularVelocityModelSpace vector

Parameters:

Returns: Nothing

Examples

Example 1

myHeli setAngularVelocityModelSpace [0,0,1]; // will cause the helicopter to spin around its main rotor shaft

See also

setVelocity · setAngularVelocity · angularVelocity · angularVelocityModelSpace