velocityModelSpace: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added to "see also" + <code> tidy)
m (Fixed incorrect info)
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns the velocity (speed vector) of the vehicle as an array with format [x, z, y]. Vector is in model space.  |= Description
| Returns the velocity (speed vector) of the vehicle as an array with format [x, y, z]. Vector is in model space.  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 19:21, 4 May 2014

Hover & click on the images for description

Description

Description:
Returns the velocity (speed vector) of the vehicle as an array with format [x, y, z]. Vector is in model space.
Groups:
Uncategorised

Syntax

Syntax:
velocityModelSpace vehicle
Parameters:
vehicle: Object
Return Value:
Array

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

Notes

Bottom Section