setAngularVelocityModelSpace: Difference between revisions
BrettMayson (talk | contribs) mNo edit summary |
BrettMayson (talk | contribs) No edit summary |
||
| (One intermediate revision by one other user not shown) | |||
| Line 3: | Line 3: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2.18 | |version1= 2.18 | ||
|arg= local | |arg= local | ||
| Line 19: | Line 17: | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
|p2= vector: | |p2= vector: [[Vector3D]] - angular velocity of the object in model space | ||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
Latest revision as of 07:33, 2 January 2026
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: 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
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note