boundingBox

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Armed Assault version 1.00
  

Click on the images for descriptions

Introduced in

Game:
Armed Assault
Version:
1.00

Description

Description:
Boundingbox.jpg
Returns a bounding box of given object in model coordinate space. This command is rather generous on the size estimation, for more precise coordinates use boundingBoxReal

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

Multiplayer:
-
See also:
sizeOfboundingBoxRealboundingCenter

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section