boundingBox: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(clarified coordinates)
m (Added ArmA)
Line 37: Line 37:
[[Category:Scripting Commands|BOUNDINGBOX]]
[[Category:Scripting Commands|BOUNDINGBOX]]
[[Category:Scripting Commands ArmA|BOUNDINGBOX]]
[[Category:Scripting Commands ArmA|BOUNDINGBOX]]
[[Category:Scripting Commands ArmA2|BOUNDINGBOX]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Object_Information|{{uc:{{PAGENAME}}}}]]

Revision as of 08:19, 3 June 2009

-wrong parameter ("Arma") defined!-1.00
Hover & click on the images for description

Description

Description:
Returns a bounding box of given object in model coordinate space.
Groups:
Uncategorised

Syntax

Syntax:
Array = boundingBox model
Parameters:
model : Object
Return Value:
Array - An array with the extreme points of the model. Format: [[minX, minY, minZ], [maxX, maxY, maxZ]] BoundingBox.jpg

Examples

Example 1:
_box = boundingBox _abrams

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section