Making a character walkable moving surface?

Hi everyone!!

I´m currently trying to have a moving surface follow a rail made with a spline, much like a train wagon. I´ve managed to get that surface to follow a closed loop spline with no major issues (I´m still getting acquainted with splines BTW ), using the set actor location node (my surface is an actor BP, with just an static mesh component).

The thing is, I want my characters to walk on top of that surface (Again…picture a train wagon). When the surface is still the characters move as usual, but when it starts to move, the surface starts jittering and eventually the characters fall.

I´ve figured that this is maybe because the engine assumes that characters in general will be doing their thing on stable, non moving surfaces to walk on which make up the level. So, looking for other options I found the “Moving platform” tutorial which uses a matinee actor to accomplish the movement and have a character standing in it no problems. I want to use spline tracks that spawn randomly in my game for my surface to follow, so I don´t think that a matinee predefined movement would be ideal.

So, any ideas that point me in the right direction would be awesome!

Thanks a lot!