Warning: file_put_contents(/ff_a3545316b029572d741c973d7dcb3f6a098928db5f6034c0.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