I created a model in Blender to replace a func_tracktrain based escalator in my map TTT_Nuclear_Power:
I animated it by having the steps move one step length and looping the animation, basically “teleporting” back into place to create a smooth loop. It uses two bones - one for the lower and top part that move straight forward, and one for the angled part that moves diagonally. It looks smooth in Blender but in Garry’s Mod there’s a fast “jump” in the animation when it loops that quickly moves the step backwards into place rather than “teleporting” back to the first frame at the end of the loop. I assume this is because the Source Engine interpolates the movement between the last and first frame of the loop.
I know most looping animations have the model return to it’s original position at the end of the loop, however that’s not really possible in my case. Is there any way to fix this jump? Can I get it to abruptly restart the loop at the first frame of the animation rather than have it jump back?