{"name":"getPosWorld","title":"getPosWorld","type":"command","url":"https://community.bistudio.com/wiki/getPosWorld","revid":377455,"updated":"2026-01-02T06:47:19Z","groups":["Positions"],"status":"ok","games":{"arma3":"1.32"},"since":"arma3 1.32","arma3_since":"1.32","locality":{"argument":"global"},"description":"Returns the provided object's model centre position ([0,0,0]) in PositionASL, rather than the transformed boundingCenter or LandContact vertices.","syntaxes":[{"syntax":"getPosWorld object","params":[{"name":"object","type":"Object","type_expr":"Object"}],"returns":{"type":"PositionASL","type_expr":"PositionASL","description":"the model's centre","text":"PositionASL - **the model's centre**"},"form":"unary","right":{"text":"object"}}],"examples":[{"code":["_obj setPosWorld getPosWorld _obj;"]},{"code":["ATLToASL (_groundObj modelToWorld [0,0,0]) isEqualTo getPosWorld _groundObj; // true"]},{"text":"Wave height under a boat:\n\n```sqf\nprivate _h = ((boat modelToWorld [0,0,0]) vectorDiff getPosWorld boat) select 2;\n```","code":["private _h = ((boat modelToWorld [0,0,0]) vectorDiff getPosWorld boat) select 2;"]}],"see_also":["getPosWorldVisual","setPosWorld","position","getPosATL","getPosASL","getPosASLW","visiblePosition","visiblePositionASL","getMarkerPos","modelToWorld"]}