Get Bounding Box

Description

 

Gets an object's axis-aligned bounding box. An axis-aligned bounding box is a rectangle that contains the object.

 

Outputs

X

This outputs the position of the bounding box on the X-axis as a value.

Y

This outputs the position of the bounding box on the Y-axis as a value.

Width

Outputs the width of the bounding box.

Height

Outputs the height of the height of the bounding box.

Object ID

This outputs the Object ID.

 

 

Examples 

Use the Is Intersecting Behaviour to see if two objects could be colliding with each other by checking a rectangle to rectangle intersection with each object's bounding box.

 

Related

Calculate Direction

Calculate Distance

Get Time

Is Intersecting

 

GetBoundingBoxReference.gif

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.