I have been trying to develop a train which would follow a spline and the problem that I came across is the development of such a system that would represent an engine, gearbox etc. The WheeledVehicleMovementComponent has everything created of the above, but I am not sure if it is possible to use it on a spline, as with spline you “teleport” the train and the MovementComponent applies force to the tires if I understand correctly.
The question is how should I approach this problem? Should I just trust physics and put the train on rails without attaching it to the spline? Or is it possible to get force applied to the wheels and transform it somehow to movement?
Any tips, suggestions or references would be greatly appreciated.