velocityModelSpace: Difference between revisions
Jump to navigation
Jump to search
(added example) |
Fred Gandt (talk | contribs) m (Added to "see also" + <code> tidy) |
||
Line 17: | Line 17: | ||
|x1= <code>velocityModelSpace _chopper; | |x1= <code>[[velocityModelSpace]] _chopper; | ||
[[comment]] "Returns [X (left(-) right(+)), Y (backward(-) forward(+)), Z (down(-) up(+))]"; | |||
</code>|= EXAMPLE1 | </code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[velocity]], | ||
[[setVelocity]], | |||
[[setVelocityTransformation]] |= SEEALSO | |||
| |= MPBEHAVIOUR | | |= MPBEHAVIOUR |
Revision as of 23:21, 22 March 2014
Description
- Description:
- Returns the velocity (speed vector) of the vehicle as an array with format [x, z, y]. Vector is in model space.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
velocityModelSpace _chopper; comment "Returns [X (left(-) right(+)), Y (backward(-) forward(+)), Z (down(-) up(+))]";
Additional Information
- See also:
- velocity, setVelocity, setVelocityTransformation
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