Roblox resetting camera Angle (tilt) on every step?

  1. What do you want to achieve?
    I want to add a bobbing effect to the camera when the player is walking.

  2. What is the issue?
    When you start walking the camera tilt instantly switches to bobbing, and when you stop walking the camera tilt instantly goes still.

  3. What solutions have you tried so far?
    I tried to Lerp but it didn’t work, I tried multiplying the Camera CFrame with CFrame.Angles(0,0,0.95) but it didn’t make it smooth as well.

Basically what I want to do is to make the camera smoothly tilt from side to side when the player is walking, and slowly return it to it’s normal CFrame when the player stops walking.
But I heard that Roblox resets the camera Angle every render step, and it seems to take over what I do…
Thanks for reading.

2 Likes