Hello,
I have a TPS camera that smoothly follow my player character. For this, I use FMath::VInterpTo.
But when my delta time is varying (frame rate not constant), I have a lot of stuttering on the camera. It does not happen when my frame rate is constant (delta time is not varying).
So I think my camera doesn’t always update at the same time than my character. Can this happen because the character movement component doesn’t update movement at the same time with a simple tick ?
I tried to change my camera tick group to PostPhysics or DuringPhysics but it doesn’t seem to match the character movement update rate. Maybe I’m wrong but I thinks my problem is here.
I have think to use a fixed timestep to update my player character and my camera but it would means I can not use character movement and character methods like AddMovementInput, so it should not be a good solution.
Has someone any idea on how I could fix it ?
Thanks a lot for your help.