vectorModelToWorld: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
|p6= |= Parameter 6 | |p6= |= Parameter 6 | ||
| [x, y, z]: [[Array]] - vector in world space |= Return Value | | [x, y, z]: [[Array]] - vector in world space |= Return Value | ||
|x1=Convert model space vector [0,-10,4] to world space; vector gets | |x1=Convert model space vector [0,-10,4] to world space; vector gets rotated according to _airplane: | ||
<code>_airplane vectorModelToWorld [0,-10,4];</code>|= Example 1 | <code>_airplane vectorModelToWorld [0,-10,4];</code>|= Example 1 | ||
|[[addForce]], [[addTorque]], [[vectorModelToWorldVisual]], [[vectorWorldToModel]], [[vectorWorldToModelVisual]]|= See Also | |[[addForce]], [[addTorque]], [[vectorModelToWorldVisual]], [[vectorWorldToModel]], [[vectorWorldToModelVisual]]|= See Also |
Revision as of 13:29, 2 June 2017
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
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