I’m making a very simple system to damp the steps up/down by compensating for the translation of the mesh.
It works, but the system enters a frame late, and during that frame the mesh is up, and then down in the next frame.
The way to do this is to save the last location at the end of the tick, and then compare the current location with the saved position. If the difference of z is greater than a threshold, I apply the translacion, which is then returned to the start using interpolation.
I have tried all 3 types of tickgroups but without results. Is there any way to make this work?
Here the video showing the problem: