boundingBox: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Reset version to 1.00)
mNo edit summary
Line 17: Line 17:
____________________________________________________________________________________________
____________________________________________________________________________________________


|x1= <pre>_box = boundingBox abrams</pre> |= Example 1
|x1= <code>_box <nowiki>=</nowiki> '''boundingBox''' abrams</code> |= Example 1
____________________________________________________________________________________________
____________________________________________________________________________________________



Revision as of 18:05, 15 November 2006

-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:
boundingBox object
Parameters:
object: Object
Return Value:
Array - An array with the extreme points of the model. Format: [[minX, minZ, minY], [maxX, maxZ, maxY]]

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