CharacterMovementComponent Jitter/Shaking on moving platforms

Hi! I am experiencing this weird issue with moving platforms in my project. I use a default first person character and a simple InterpToMovementComponent-based moving platform. When the character is standing on top of the platform I get this shaking/jittering of the view proportionally to speed. For whatever reason, it gets stronger (about 2x amplitude) when I screencap it, so in reality its usually about half of whats visible on the video, but thats still a problem. Does anyone know what it is and why it happens?

Hello there @DFined!

From the looks of your footage, this could be a frame mismatch, or tick/update desync, between your player and the platform. In short, the engine is updating the two elements in the wrong order, on every frame, with the platform moving “after” the camera is done calculating positions.

To fix this, I would tinker with the way the platform handles physics. Check the InterpToMovementComponent, look in Details for “Tick Group”, and play around with the available settings (I would suggest starting with “Pre Physics”.

Another method to test, would be to add a Tick Prerequisite Actor to your player’s BP, and link it with the platform actor, to control exactly when the engine starts moving them.

On the other hand, it also helps reviewing how the platform is construected in the first place, or even re-create it from scratch, if the issue persists. The video guide below shows a good workflow for its setup:

Thanks! Yeah, that was mostly it - I had already checked the platform’s own tick groups, and that wasn’t helping, but I had a child actor as part of the platform and that was conflicting with the character’s tick group. Moving the character to a later group solved it