Turning the camera for moues to point at a specific position

Is there a way to change the angle of the camera to make the mouse point at a specific part?, not only when the mouse is at the center of screen

1 Like

I’m not sure exactly what you mean but you can do something around this to offset the camera’s CFrame by an angle

camera.CFrame = camera.CFrame * CFrame.Angles(0, math.rad(degrees), 0)

The function itself has to be provided with radians for each axis so you can use math.rad if you want to use it with degrees.

Also, a little off topic; but the camera’s CameraType must be set to Scriptable to allow any sort of manipulation to begin with.

1 Like