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.
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…