Arma 3 Scripting

Command in Object Manipulation

setAngularVelocityModelSpace

Also available as Markdown and JSON, or read the 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