I’m trying to make the camera follow the player’s head during an animation, However I’m having issues with it as when the player moves left or right (A or D) the camera fully smoothly rotates in a 180 degree angle.
This is the code I’m using under a runservice binded action to create this effect ;
Camera.CFrame = CFrame.new(Camera.CFrame.Position, Head.Position)
GIF of the issue at around 0:03 ;
(gyazo.com)
As you can see overall it’s pretty buggy and I’m wondering if there’s a better way of doing it. I’ve tried setting the camera subject to the Head but the shake effect doesn’t work well and this the only thing that has given me some type of results.