setAngularVelocityModelSpace: Difference between revisions
Jump to navigation
Jump to search
(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...") |
Lou Montana (talk | contribs) m (Text replacement - "↵|version1= 2.18↵↵|branch= dev↵" to " |version1= 2.18 ") |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
|game1= arma3 | |game1= arma3 | ||
|version1= 2. | |version1= 2.18 | ||
|arg= local | |arg= local | ||
Line 11: | Line 11: | ||
|descr= Sets the angular velocity of the object in model space as a 3D vector. The units are in Rad/s and rotations are clockwise. | |descr= Sets the angular velocity of the object in model space as a 3D vector. The units are in Rad/s and rotations are clockwise. | ||
{{Feature|important|Angular velocity is limited to a range of +-1000 Rad/s.}} | |||
|s1= obj [[setAngularVelocityModelSpace]] vector | |s1= obj [[setAngularVelocityModelSpace]] vector | ||
|p1= obj: [[Object]] | |p1= obj: [[Object]] | ||
|p2= vector: [[Array]] | |||
|p2= vector: [[Array]] format [[Vector3D]] - angular velocity of the object in model space | |||
|r1= [[Nothing]] | |r1= [[Nothing]] | ||
|x1= <sqf>myHeli setAngularVelocityModelSpace [0,0,1]; // will cause the helicopter to spin around its main rotor shaft</sqf> | |x1= <sqf>myHeli setAngularVelocityModelSpace [0,0,1]; // will cause the helicopter to spin around its main rotor shaft</sqf> | ||
|seealso= [[setVelocity]] [[setAngularVelocity]] [[angularVelocity]] | |seealso= [[setVelocity]] [[setAngularVelocity]] [[angularVelocity]] [[angularVelocityModelSpace]] | ||
}} | }} |
Latest revision as of 16:08, 8 October 2024
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 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
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