Previous Document Next Document

Relations > Bounding constraints > Bounding box

Bounding box


This relation creates an invisible box within which the constrained object must remain. An object could therefore be moved by surfers but only within a certain area. For example, a surfer could move an object around but not off the screen.

This relation either keeps an object in a box or prevents it from going inside a box. In the following illustration, the jackhammer is constrained to a cube, which is made invisible. The jackhammer can move around freely but not exit the boundaries of the cube. An alternative is to inverse this box and make sure that an object does not enter a specific box. For instance, the jackhammer should not go through the ground.

As with all relations, first the constrained object is selected, and the second object becomes the bounding box. This bounding box can be translated, scaled, rotated, and animated.


To create a bounding box constraint:
  1. Multi-select the object that you want to constrain and then an object to serve as a bounding box, in that order.
  2. Choose Relations > Bounding Constraints > Box.
  3. Scale the bounding box object to the desired dimension and toggle off its visibility.

Bounding Box Parameters

Active

Toggles the constraint on and off.

Weight

Determines the weight of this constraint in relation to others constraints acting on the same object.

Inside

Constrains the object to stay inside the box. When Inside is turned off, the object cannot enter the box.

Geometry
constrained

Uses the object's outer geometry as limits when calculating the bounding box. When this option is on, a sphere appears around the constrained object, and it is the outer radius of the sphere that determines when the object has reached its limit. When Geometry constrained is off, the object's center serves as reference.


See also:

Unlocking constraints

Using weight to control multiple constraints

"To view the constraint in the viewports:"

Previous Document Next Document