vectorWorldToModelVisual

From Bohemia Interactive Community
Jump to navigation Jump to 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 world to model space in render time scope.

Syntax

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

Examples

Example 1:
Convert world space vector [0,-10,4] to model space of object _airplane: _airplane vectorWorldToModelVisual [0,-10,4];

Additional Information

Multiplayer:
-
See also:
addForceworldToModelVisualaddTorquevectorModelToWorldvectorModelToWorldVisualvectorWorldToModel

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