I've been struggling to figure out how to rotate the object at its center. Right now, I can rotate the scene but the object moves away from the user. I've tried looking at similar questions on forums, but haven't been able to make it work. Below is a snippet of the HTML/Three.js file I'm using. Any assistance would be greatly appreciated.
<script src="../build/three.min.js"></script>
<script src="js/controls/TrackballControls.js"></script>
<script src="js/libs/stats.min.js"></script>
<script>
// Code removed for brevity
Can anyone offer some guidance?