So i want to Rotate the camera sideways when the player performs an action, how could i do this?
COMMUNITY QUESTION
How could i rotate the camera?
1 answer
You could use TweenService to change the Camera's CFrame.
You could directly change the CFrame of the camera.
I prefer TweenService, but It's up to you.
2 comments
0
How do i rotate it' s Z angle with tween service, it doesn't work when i tried
0
If you want to change just the Z axis, then you will need to create a new CFrame as the CFrame properties beyond .CFrame are read-only.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
a big help is knowing that (in a local script) the player camera = workspace.CurrentCamera and to get the CFrame of it it is workspace.CurrentCamera.CFrame
But do i use Angles to change the Z angle?