Smooth out the teleportation when using "Step Height" for the character movement component

As the title states, I have found a way to smooth out the teleportation caused by setting the max step height to a large number. This project uses the basic third person template. I have moved my camera boom to inside the capsule as to make it a first person game. Here are the blueprints and a demonstration of the smoothing:


Making the interp speed higher will make the snapping more sudden, while lowering it makes it smoother. The Add node is used to put the camera in the correct Z coordinate, otherwise it will be at the base of the capsule.

I hope this helps someone out!

1 Like

Just to note…

Capsule component is directly controlled by CMC.

What is CMC? I also should have mentioned that I’m not really that experienced with blueprints or C++.

OH! The character movement component. Right. Duh