{"name":"boundingCenter","title":"boundingCenter","type":"command","url":"https://community.bistudio.com/wiki/boundingCenter","revid":377382,"updated":"2026-01-02T06:43:49Z","groups":["Object Manipulation"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Returns the position of the original (loaded) center of an object in model coordinates. Despite its name, it has nothing to do with boundingBox or boundingBoxReal, it returns offset where `[0, 0, 0]` was Object Builder / Oxygen 2 when model was created.","syntaxes":[{"syntax":"boundingCenter object","params":[{"name":"object","type":"Object","type_expr":"Object"}],"returns":{"type":"PositionRelative","type_expr":"PositionRelative"},"form":"unary","right":{"text":"object"}}],"examples":[{"code":["_center = boundingCenter TruckOne;"]}],"see_also":["boundingBox","sizeOf","boundingBoxReal","getPosWorld","setPosWorld","aimPos"],"notes":[{"user":"Sa-Matra","date":"2023-04-20T06:33:26Z","text":"Some objects have boundingCenter in really weird positions. In general this command is borderline useless."}]}