angularVelocityModelSpace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Created page with "{{RV|type=command |game1= arma3 |version1= 2.16 |arg= global |gr1= Object Manipulation |descr= Gets the angular velocity of the object in model space as a 3D vector. The u...")
 
m (Add devbranch)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.16
|version1= 2.16
|branch= dev


|arg= global
|arg= global
Line 14: Line 16:
|p1= obj: [[Object]]  
|p1= obj: [[Object]]  


|r1= [[Array]] - [[Vector3D]] angular velocity of the object in model space ([0,0,0] if angular velocity is not supported by the object)
|r1= [[Array]] format [[Vector3D]] - angular velocity of the object in model space ([0,0,0] if angular velocity is not supported by the object)


|x1= <sqf>angularVelocityModelSpace myHeli; //[0.01,0.03,0.95]</sqf>
|x1= <sqf>hint str angularVelocityModelSpace myHeli; // [0.01, 0.03, 0.95]</sqf>


|seealso= [[velocityModelSpace]] [[setAngularVelocityModelSpace]] [[angularVelocity]]
|seealso= [[velocityModelSpace]] [[setAngularVelocityModelSpace]] [[angularVelocity]]
}}
}}

Revision as of 11:14, 23 November 2023

Hover & click on the images for description
Only available in Development branch(es) until its release with Arma 3 patch v2.16.

Description

Description:
Gets the angular velocity of the object in model space as a 3D vector. The units are in Rad/s (radians per second) and rotations are clockwise.
Groups:
Object Manipulation

Syntax

Syntax:
angularVelocityModelSpace obj
Parameters:
obj: Object
Return Value:
Array format Vector3D - angular velocity of the object in model space ([0,0,0] if angular velocity is not supported by the object)

Examples

Example 1:
hint str angularVelocityModelSpace myHeli; // [0.01, 0.03, 0.95]

Additional Information

See also:
velocityModelSpace setAngularVelocityModelSpace 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