I've been searching for this for ages, and I can't find a decent way of doing this. What I need is a camera code that allows the user to hold the mouse button then the camera will rotate freely.
I have just been using this code:
If Mouseclick()=2
Rotate Camera Camera Angle X()+MouseMoveY()/2,Camera Angle Y()+MouseMoveX()/2,0
Endif
But the problem with it is when you click anywhere but the center of the screen it will jolt the camera to that rotation, I need it to the camera to only rotate when the mouse is moved. Hope that made sense to someone.
Thanks