vectorModelToWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - " " to " ")
Line 19: Line 19:
|[[vectorDir]], [[modelToWorld]], [[addForce]], [[addTorque]], [[vectorModelToWorldVisual]], [[vectorWorldToModel]], [[vectorWorldToModelVisual]], [[matrixMultiply]], [[matrixTranspose]]
|[[vectorDir]], [[modelToWorld]], [[addForce]], [[addTorque]], [[vectorModelToWorldVisual]], [[vectorWorldToModel]], [[vectorWorldToModelVisual]], [[matrixMultiply]], [[matrixTranspose]]
}}
}}




{{GameCategory|arma3|Scripting Commands}}
{{GameCategory|arma3|Scripting Commands}}
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 23:39, 31 January 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Math - Vectors

Syntax

Syntax:
Syntax needed
Parameters:
object: Object
modelDir: Array - vector direction in model space in format [x,y,z]
Return Value:
Return value needed

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:
See also needed

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