Hey all the the title is self Explanatory. What are the ways by which I can animate an object by its center? One of the ideas i have is to draw a THREE.Box3
around the object and animate the object by its Box3 center. But I don’t know how to implement it. Thanks in advance!
Have you considered to center your 3D object first and then animate Object3D.position
?
@Mugen87 Thanks for the reply. Actually the other way around is more helpful for me. I am aware of the fact that THREE.Box3 does nothing more than just drawing a box around the object. But my requirement is to draw a THREE.Box3 around an Object and animate the Object by its THREE.Box3 center. Is something like this feasible/do-able? Thanks in Advance!