{"name":"modelToWorldVisualWorld","operator":null,"title":"modelToWorldVisualWorld","type":"command","url":"https://community.bistudio.com/wiki/modelToWorldVisualWorld","revid":377447,"updated":"2026-01-02T06:47:02Z","groups":["Object Manipulation","Render Time Scope"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.70"}],"since":{"game":"arma3","name":"Arma 3","version":"1.70"},"arma3_since":"1.70","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Converts position from object model space to world space in render time scope. For the PositionAGL version see modelToWorldVisual.\n\n> [!IMPORTANT]\n> For scaled objects, the relative position will first be multiplied by the object scale.\n>\n> For example, if the object's scale is 2, `_obj modelToWorldVisualWorld [0,1,0]` will be offset **2 meters** from the model center (`[0,0,0]`).","syntaxes":[{"syntax":"obj modelToWorldVisualWorld modelPos","since":null,"effect":null,"exec":null,"params":[{"name":"obj","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"obj: Object"},{"name":"modelPos","type":"PositionRelative","optional":false,"default":null,"description":"[x,y,z] offset relative to the model centre","types":["PositionRelative"],"since":null,"text":"modelPos: PositionRelative - [x,y,z] offset relative to the model centre"}],"returns":{"type":"PositionASL","types":["PositionASL"],"description":"translated world position (see getPosWorld)","text":"PositionASL - translated world position (see getPosWorld)"},"form":"binary","operator":null,"left":{"text":"obj","types":["Object"]},"right":{"text":"modelPos","types":["PositionRelative"]}}],"examples":[{"text":"```sqf\nplayer modelToWorldVisualWorld [0,1,0];\n```","code":["player modelToWorldVisualWorld [0,1,0];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["modelToWorldWorld","modelToWorldVisual","getPosWorldVisual"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Command Group: Render Time Scope","Introduced with Arma 3 version 1.70","Scripting Commands"]}