{"name":"boundingBoxReal","operator":null,"title":"boundingBoxReal","type":"command","url":"https://community.bistudio.com/wiki/boundingBoxReal","revid":378436,"updated":"2026-04-07T21:33:52Z","groups":["Object Manipulation"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"arma3","name":"Arma 3","version":"0.50"},"arma3_since":"0.50","branch":null,"locality":{"argument":"global","effect":null,"server_exec":false},"exec":null,"description":"Returns a raw bounding box of given object in model coordinates space. This command is similar to boundingBox but gives more precise measurements.\n\nThe alternative syntax allows to specify clipping type to be used, which in some cases could make the result even more precise.","syntaxes":[{"syntax":"boundingBoxReal object","since":null,"effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"object: Object"}],"returns":{"type":"PositionRelative","types":["PositionRelative"],"description":"the extreme points of the model along Arma 3 v1.92 the bounding box sphere radius, in format [[xmin, ymin, zmin], [xmax, ymax, zmax], boundingSphereRadius]","text":"PositionRelative - the extreme points of the model along Arma 3 v1.92 the bounding box sphere radius, in format [[xmin, ymin, zmin], [xmax, ymax, zmax], boundingSphereRadius]"},"form":"unary","operator":null,"left":null,"right":{"text":"object","types":["Object"]}},{"syntax":"clippingType boundingBoxReal object","since":"arma3 1.92","effect":null,"exec":null,"params":[{"name":"clippingType","type":"Number","optional":false,"default":null,"description":"can be one of:\n- 0 - ClipVisual (can significantly reduce bounding box's size on buildings)\n- 1 - ClipShadow\n- 2 - ClipGeometry\n- 3 - ClipGeneral (same type that is used in the main syntax)","types":["Number"],"since":null,"text":"clippingType: Number - can be one of:\n- 0 - ClipVisual (can significantly reduce bounding box's size on buildings)\n- 1 - ClipShadow\n- 2 - ClipGeometry\n- 3 - ClipGeneral (same type that is used in the main syntax)"},{"name":"object","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"object: Object"}],"returns":{"type":"PositionRelative","types":["PositionRelative"],"description":"the extreme points of the model, as well as bounding sphere radius, in format [[xmin, ymin, zmin], [xmax, ymax, zmax], boundingSphereRadius]","text":"PositionRelative - the extreme points of the model, as well as bounding sphere radius, in format [[xmin, ymin, zmin], [xmax, ymax, zmax], boundingSphereRadius]"},"form":"binary","operator":null,"left":{"text":"clippingType","types":["Number"]},"right":{"text":"object","types":["Object"]}},{"syntax":"boundingBoxReal [object, LOD]","since":"arma3 2.14","effect":null,"exec":null,"params":[{"name":"object","type":"Object","optional":false,"default":null,"description":null,"types":["Object"],"since":null,"text":"object: Object"},{"name":"LOD","type":"String or Number","optional":false,"default":null,"description":"can be one of:\n- `\"Memory\"`\n- `\"Geometry\"`\n- `\"FireGeometry\"`\n- `\"LandContact\"`\n- `\"HitPoints\"`\n- `\"ViewGeometry\"`\nWhen Number is used, command searches for a LOD with the similar LOD resolution","types":["String","Number"],"since":null,"text":"LOD: String or Number - can be one of:\n- `\"Memory\"`\n- `\"Geometry\"`\n- `\"FireGeometry\"`\n- `\"LandContact\"`\n- `\"HitPoints\"`\n- `\"ViewGeometry\"`\nWhen Number is used, command searches for a LOD with the similar LOD resolution"}],"returns":{"type":"PositionRelative","types":["PositionRelative"],"description":"the extreme points of the model, as well as bounding box sphere radius, in format [[xmin, ymin, zmin], [xmax, ymax, zmax], boundingSphereRadius]","text":"PositionRelative - the extreme points of the model, as well as bounding box sphere radius, in format [[xmin, ymin, zmin], [xmax, ymax, zmax], boundingSphereRadius]"},"form":"unary","operator":null,"left":null,"right":{"text":"[object, LOD]","types":["Array"]}}],"examples":[{"text":"```sqf\nprivate _bbr = boundingBoxReal vehicle player;\nprivate _p1 = _bbr select 0;\nprivate _p2 = _bbr select 1;\nprivate _maxWidth = abs ((_p2 select 0) - (_p1 select 0));\nprivate _maxLength = abs ((_p2 select 1) - (_p1 select 1));\nprivate _maxHeight = abs ((_p2 select 2) - (_p1 select 2));\n```","code":["private _bbr = boundingBoxReal vehicle player;\nprivate _p1 = _bbr select 0;\nprivate _p2 = _bbr select 1;\nprivate _maxWidth = abs ((_p2 select 0) - (_p1 select 0));\nprivate _maxLength = abs ((_p2 select 1) - (_p1 select 1));\nprivate _maxHeight = abs ((_p2 select 2) - (_p1 select 2));"]},{"text":"```sqf\nhint str (0 boundingBoxReal cursorObject);\n```","code":["hint str (0 boundingBoxReal cursorObject);"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["boundingBox","sizeOf","boundingCenter"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Object Manipulation","Introduced with Arma 3 version 0.50","Scripting Commands"]}