4

Is there a way to make a mesh cube match the size of another object's bounding box, and have it updates as that size changes?

Ascalon
  • 6,579
  • 8
  • 55
  • 121
  • Would a child that scales with the object work? as in bertmoogs answer? or would you want a bounding box that resizes as an armature expands the bounds? – sambler Jul 16 '17 at 10:45
  • @sambler It needs to resize as an armature moves. – Ascalon Jul 30 '17 at 12:49

2 Answers2

3

One way to do it if your bounding box fits the object's dimensions:

1.) Select the Mesh Cube and then add the other object to the selection

2.) Copy the Dimensions and rotation info to the Cube

3.) Add Child Of constraint to Cube and select the object as the parent

4.) It will go wonky, so press the Set Inverse button in the constraint

5.) Finally, Restrict Selection so that it can't accidentally be manipulated

enter image description here

bertmoog
  • 6,106
  • 2
  • 19
  • 37
1

You could setup drivers on the scale property to be driven by the bounding box dimensions of the other object.

satishgoda
  • 8,064
  • 2
  • 18
  • 35