setAngularVelocityModelSpace

From Bohemia Interactive Community
Revision as of 13:10, 15 September 2023 by Leopard20 (talk | contribs) (Created page with "{{RV|type=command |game1= arma3 |version1= 2.16 |arg= local |eff= global |gr1= Object Manipulation |descr= Sets the angular velocity of the object in model space as a 3D...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

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.
Groups:
Object Manipulation

Syntax

Syntax:
obj setAngularVelocityModelSpace vector
Parameters:
obj: Object
vector: Array in format Vector3D - angular velocity of the object in model space.
Return Value:
Nothing

Examples

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

Additional Information

See also:
setVelocity setAngularVelocity angularVelocity

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note