{"name":"vectorWorldToModelVisual","title":"vectorWorldToModelVisual","type":"command","url":"https://community.bistudio.com/wiki/vectorWorldToModelVisual","revid":377893,"updated":"2026-01-05T17:39:06Z","groups":["Math - Vectors","Render Time Scope"],"status":"ok","games":{"arma3":"1.72"},"since":"arma3 1.72","arma3_since":"1.72","description":"Converts vector direction from world to model space in render time scope.\n\n> [!IMPORTANT]\n> For scaled objects, the resulting vector's magnitude will be divided by the object scale.","syntaxes":[{"syntax":"object vectorWorldToModelVisual worldDir","params":[{"name":"object","type":"Object","type_expr":"Object"},{"name":"worldDir","type":"Vector3D","description":"vector direction in world space in format [x,y,z]","type_expr":"Vector3D"}],"returns":{"type":"Vector3D","type_expr":"Vector3D","description":"vector direction in model space in format [x,y,z]"},"form":"binary","left":{"text":"object"},"right":{"text":"worldDir"}}],"examples":[{"text":"Convert world space vector [0,-10,4] to model space of object _airplane:\n\n```sqf\nprivate _vector = _airplane vectorWorldToModelVisual [0,-10,4];\n```","code":["private _vector = _airplane vectorWorldToModelVisual [0,-10,4];"]}],"see_also":["addForce","worldToModelVisual","addTorque","vectorModelToWorld","vectorModelToWorldVisual","vectorWorldToModel"]}