Warning: file_put_contents(/ff_84f91477d12eeae0b62a6e585c01609879ddec94bab4a4a9.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
modelToWorldVisual - OFPEC Scripting Command Reference | OFPEC The Editing Center

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];

Advertisement