My game is first person. I have a script that disables the default transparency of body parts except head, when going into first person, so that player can see his torso, legs and arms when looking down.
Everything works perfect, except when running and looking down, player can see the upper part of his torso moving back and forth, while the camera position doesnt change. I want the camera to follow the head. It would also make a very realistic camera wobble effect (the effect is not important for me, it will just be a side bonus).
I have tried doing
Workspace.CurrentCamera.CameraSubject = Head
And it worked, except when turning the camera players character wasnt turning with camera, like it does in default first person mode.
I have also tried
while task.wait() do
Workspace.CurrentCamera.CFrame = Head.CFrame
end
But as predicted, this way I was unable to rotate the camera at all, because it was always changing its CFrame to heads CFrame.
How to make the camera follow the head in first person