Animate an Object by its Bounding Box

Hey all,
I want to animate an object by its THREE.Box3 Bounding Box. In the sense that If i animate the bounding box of an Object3D, the Object 3D enclosed by the Bounding Box should also be animated respectively. Is it even possible to do something like this? Couldn’t find anything in the documentation. Thanks in Advance!

Sorry but it’s not clear to me what you are looking for. Keep in mind that an AABB just represents the bounds of a geometry/mesh. Changing the AABB has no effect to the object it is referring to.

Seems you’re looking for something like this:

@Mugen87 Thanks for the response. To be precise after assigning Bounding Box to an Object3D . I want to animate the Object 3D from P1(x1, y1, z1) to P2(x2,y2,z2) , but not by the Object3D.position but rather by the center of its respective bounding box. Hope I am clear. :sweat_smile: