boundingBox: Difference between revisions
Jump to navigation
Jump to search
m (=) |
m (changed global to local variable to make clear the variable) |
||
Line 17: | Line 17: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>_box <nowiki>=</nowiki> '''boundingBox''' | |x1= <code>_box <nowiki>=</nowiki> '''boundingBox''' _abrams</code> |= Example 1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Revision as of 06:08, 27 August 2007
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, 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