Hello,
I need help with the rotation of the object when it is not in the center.
a) If the object is in the middle/center (position 0,0,0) and the user rotates (with a left click) it rotates around itself.
(image a)
b) If we move an object (with a right click) and then rotate it (with a left click) it rotates the object around the middle point of the environment and object doing a big circle around.
(images b1 and b2)
I’m wondering if it is possible (if exists some library or anything) to rotate an object as it is described in the first case even if it is moved from the center of the environment. (image c)
I know that verge3d actually moving the camera and not the object itself, but…
Thank you for any help or idea,
Boris
Attachments:
You must be
logged in to view attached files.