How do I make a camera tilting that is related to torso animation/rotation?

I haven’t seen any posts that talk about camera tilting that is related to torso/hrp, but I have seen games doing this type of body tilting.

Example video:

At the 12th second when he finishes off the enemy, you can see that the camera “follows” player’s torso when it moves. I’m pretty sure that type of “tilt” is made by a script or with changing the HRP position in animation. I tried changing the HumanoidRootPart position in my animations but I can’t find a way to change it, and still don’t know if changing HumanoidRootPart position according to torso will work. How can I do this?

2 Likes

Bumping this post, I still need help with it.

1 Like

Have you tried changing the humanoid camera offset to the difference between the torso and HRP in a loop?

humanoid.CameraOffset = torso.Position - hrp.Position
3 Likes

I tried setting the camera to the torso CFrame and that didn’t work. Also never knew something like “CameraOffset” existed in humanoid lol, I guess I learned this late. But getting the difference worked well, thanks.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.