objectName modelToWorldVisual modelpos

Operand types

objectName: Object
modelpos: Array

Type of returned value

Description

Converts position from object model space to world space in render time scope.

object: Object
modelPos: Array - [x,y,z] offset relative to the model centre

Returned Array - world position in format Position

Used In

Arma3

Example

_aboveAndBehindPlayer = player modelToWorldVisual [0,-1,3];
Search OFPEC COMREF