How would I go about making the mouse and camera behave in the first clip? Second clip is what I have now

I want to create a camera/mouse-controlling script that acts exactly like Wings of Glory on Roblox or War Thunder. The player should be able to move their mouse and the plane or ship moves to rotate to that point and the mouse comes back to the center of the screen.

How would I go about doing this? I have it already so the ship rotates to the mouse.hit.position. However, I have no idea how to have the mouse sort of slide back to center.

Also, I have it so the camera is scriptable and the CFrame of the camera is updated every frame to match a cameraPart.


2 Likes