I am making a program similar to sketchfab, and I was actually really happy that I figured out how to do the camera locking and mouse wheel zoom on my own from scratch. But I can’t quite figure out how to do the camera pan. I assume its adjusting the location of the the capsule I have as the parent to my spring arm and camera.
All I could get was the camera moved a set distance on 1 axis when I clicked the right mouse button and it would just keep adding to that over and over. Then I got it where I held right click and it basically shot off super fast, but still only on that 1 axis.
Any help would be great.