boundingBox: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
____________________________________________________________________________________________
____________________________________________________________________________________________


|[[Image:Boundingbox.jpg|right|200px]] Returns a raw bounding box of given object in model coordinate space. This command is rather generous on the size estimation, for more precise coordinates use [[boundingBoxReal]]  |= Description
|[[Image:Boundingbox.jpg|right|200px]] Returns a bounding box of given object in model coordinate space, adjusted according to destruction/animation of an object. This command is rather generous on the size estimation, for more precise coordinates use [[boundingBoxReal]]  |= Description
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 12:09, 11 February 2019

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

Description

Description:
Boundingbox.jpg
Returns a bounding box of given object in model coordinate space, adjusted according to destruction/animation of an object. This command is rather generous on the size estimation, for more precise coordinates use boundingBoxReal
Groups:
Uncategorised

Syntax

Syntax:
boundingBox model
Parameters:
model : Object
Return Value:
Array - An array with the extreme points of the model. Format [[x1,y1,z1],[x2,y2,z2]]

Examples

Example 1:
_box = boundingBox _abrams

Additional Information

See also:
sizeOfboundingBoxRealboundingCenter

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