vectorModelToWorld

From Bohemia Interactive Community
Revision as of 13:29, 2 June 2017 by Warka (talk | contribs)
Jump to navigation Jump to search
Hover & click on the images for description

Description

Description:
Converts vector from model to world space.
Groups:
Uncategorised

Syntax

Syntax:
object vectorModelToWorld [x, y, z]
Parameters:
object: Object
[x, y, z]: Array - vector in model space
Return Value:
[x, y, z]: Array - vector in world space

Examples

Example 1:
Convert model space vector [0,-10,4] to world space; vector gets rotated according to _airplane: _airplane vectorModelToWorld [0,-10,4];

Additional Information

See also:
addForceaddTorquevectorModelToWorldVisualvectorWorldToModelvectorWorldToModelVisual

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