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

How to have Camera Focus on head?

Asked by 4 years ago

I have this head tilt script:

char.Torso["Neck"].C0 = CFrame.new(  0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0 )* CFrame.Angles( -math.asin((Camera.Focus.p -  Camera.CoordinateFrame.p).unit.y)* part, 0,0)

And it works fine, It also moves the arms as well

However if there is a tool equipped the camera get weird. So I was wondering if there is a certain way to make the camera focus on the middle of the head at all times, even when it is turning?

I can provide more examples if needed.

Answer this question