Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to do camera rotation for character using the mouse?

Asked by 6 years ago

I've basically over-written the default camera and made it so its a top down camera however that means the camera rotation aspect has gone. i need it so when the person presses the right click and moves the mouse it rotates it to that direction(like the normal camera) and stops when you let go

code so far (im not really sure on what to do but its a start):

mouse = game.Players.LocalPlayer:GetMouse()

mouse.Button2Down:connect(function()

end)

mouse.Button2Up:connect(function()

end)

Answer this question