I need assistance with positioning a rendered STL file from Thingiverse in the center of the screen using Three.js and the THREE.STLLoader(). Currently, I have to adjust the rotation properties based on touch coordinates to get the object where I want it. However, I want the object to be centered on the screen and rotate from the center when moving my finger over the screen.
Below is my current code, any help would be greatly appreciated:
[Your rewritten code here]