Paper2D Set Flipbook Frame

Hi,

My goal is to animate a 2D character fluidly in 8 different directions. When the player turns in any of these directions, the animation cycle resets to the first frame of the new flipbook as you’d expect.

However, I’d like to add continuity for a more realistic effect. Say the player turns a different direction on frame 4, I want Unreal to recognise that and begin the next flipbook on frame 5. This is so the character isn’t walking twice on the same leg as an example.

I’ve found no way to do this online, which is incredibly puzzling to me as you’d assume this wouldn’t be too difficult.

The image attached shows what I have so far. Detecting the change in direction works, but setting the new flipbook’s frame does not. All flipbooks are programmed to their respective movements in a separate function using a Direction Enum.

It’s important to note this function is attached to an event tick.

If anyone could help with this, I’d be incredibly grateful.

Thanks,