vectorModelToWorld

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.72
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.72

Description

Description:
Converts vector direction from model to world space.

Syntax

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

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

Multiplayer:
-
See also:
addForceaddTorquevectorModelToWorldVisualvectorWorldToModelvectorWorldToModelVisual

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Bottom Section