addTorque

From Bohemia Interactive Community
Revision as of 12:28, 2 June 2017 by Warka (talk | contribs) (Created page with "{{Command|= ____________________________________________________________________________________________ |arma3 |= Game |dev|= Game Version |arg= |= Multiplayer Arguments |ef...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Applies torque to given object. Torque force is defined as vector [x, y, z] applied in world space. If you need to define torque in model space, convert the torque vector first by vectorModelToWorld or vectorModelToWorldVisual command.
Groups:
Uncategorised

Syntax

Syntax:
object addTorque [x, y, z]
Parameters:
object: Object
[x, y, z]: Array
Return Value:
Nothing

Examples

Example 1:
_wheel addTorque [1000,0,0];

Additional Information

See also:
-

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

Bottom Section