hi!
I want to show the different views of the cube (say…, front view, back view etc…) with tween effect. I have tried it and achieved my updating the camera up, lookAt and position. But when I try to move the camera smoothly towards the face of the object, using tween it doesn’t worked as expected where the camera moved to unwanted direction and spinning the object.
Here’s the code which I tried to move the camera to the respective face with button click https://jsfiddle.net/vtjz43h9/
whereit works fine without any tween effects.
I’m stuck with where to start this
Can anybody suggest or share any code for this.