Why my Camera jitters when i am moving uphill(TOP-DOWN)?

I am a starter and have a question with the rts tut from TwoNeurons. I am at Video 6 and have the problem, that my Camera jitters when i am moving uphill. Downhill is fine.

Tutorial

Code

Probably need to set the camera and spring arm update to be post physics. The character’s update order is probably → spring arm, camera, physics capsule so they are out of sync.
You would need the order
1 collision capsule (most likely update during physics)
2 spring arm (updated post physics)
3 camera (updated post physics)

That didn’t resolve my issue.

Check that the tick function updates at the fastest rate possible. Maybe you are updating it less often than once per frame.

Also check your fps count. If you have low fps then the motion will seem choppy.

You’d probably want to trace a simplified version on the terrian. Maybe you are using trace complex in your line trace?