{"name":"modelToWorldVisual","operator":null,"title":"modelToWorldVisual","type":"command","url":"https://community.bistudio.com/wiki/modelToWorldVisual","revid":377834,"updated":"2026-01-03T04:32:01Z","groups":["Object Manipulation","Render Time Scope"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.32"}],"since":{"game":"arma3","name":"Arma 3","version":"1.32"},"arma3_since":"1.32","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Converts position from object model space to world space in render time scope. For ASL version see modelToWorldVisualWorld.\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 scale is 2, `_obj modelToWorldVisual [0,1,0]` will be offset **2 meters** from the model center (`[0,0,0]`).","syntaxes":[{"syntax":"object modelToWorldVisual modelPos","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"object: Object"},{"name":"modelPos","type":"Array","optional":false,"default":null,"description":"in format PositionRelative ([x,y,z] offset relative to the model centre)","types":["Array"],"since":null,"text":"modelPos: Array - in format PositionRelative ([x,y,z] offset relative to the model centre)"}],"returns":{"type":"PositionAGL","types":["PositionAGL"],"description":"world position","text":"PositionAGL - world position"},"form":"binary","operator":null,"left":{"text":"object","types":["Object"]},"right":{"text":"modelPos","types":["Array"]}}],"examples":[{"text":"```sqf\n_aboveAndBehindPlayer = player modelToWorldVisual [0,-1,3];\n```","code":["_aboveAndBehindPlayer = player modelToWorldVisual [0,-1,3];"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["modelToWorld","vectorModelToWorldVisual","getPosWorldVisual","worldToModelVisual","worldToModel","selectionPosition"],"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.32","Scripting Commands"]}