How to rotate a THREE.PerspectiveCamera around on object
问题 I am making this program where you can click on an object, zoom to it, then look at it from all angles by holding the right mouse button and dragging. I need the camera to be going around the object, not rotate the object with the camera looking at it. I honestly just have no idea how to math it out! For testing there is already a game object with an xyz we have selected and are looking at var g = new GameObject(500, 0, 0);//The game object with xyz this.selected = g;//set selected to g /