Tramways Anim Spline prob

Hello, I am a beginner, and I am trying to create a working streetcar. I have the 3D model that I created. This tram has 5 cars in all, and all of them are connected by groove (rubber) which is supposed to bend following the spline. But I can’t seem to do that. Created in blender, I used the weights to be able to modify the animation. But I don’t know how to make it work in unreal. Could you help me please? Thank you !