setAngularVelocityModelSpace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Add devbranch)
Line 3: Line 3:
|game1= arma3
|game1= arma3
|version1= 2.16
|version1= 2.16
|branch= dev


|arg= local
|arg= local
Line 14: Line 16:
|s1= obj [[setAngularVelocityModelSpace]] vector
|s1= obj [[setAngularVelocityModelSpace]] vector


|p1= obj: [[Object]]  
|p1= obj: [[Object]]
|p2= vector: [[Array]] in format [[Vector3D]] - angular velocity of the object in model space.
 
|p2= vector: [[Array]] in format [[Vector3D]] - angular velocity of the object in model space
 
|r1= [[Nothing]]
|r1= [[Nothing]]



Revision as of 11:18, 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:
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 angularVelocityModelSpace

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