Let's install Train yard package from Unreal Marketplace as project Let's copy the project folder to our own project with the migrate option Let's open the project map, delete the wheels of the train, the doors, the lights and everything in the immediate vicinity of the train Let's go to the top view and combine the train and wagon parts by selecting them separately. Let's copy the required wheel and wheel assembly to a separate folder Let's add splines by creating an actor file and write standard spline duplication codes Let's create the rail by adding the spline file to our scene I created a Pawn file for the train Let's add static mesh fields to define the Train, the front and rear wheel assemblies of the Train and the wheels Let's define according to which spline the Tren will move Before we start, let's determine the distance of the front and rear wheel components (relative to the Spline) of the Train and define it to the variable After the necessary settings are read, let's set the isStart variable to true and make the Tick function work. Let's update the values of the necessary variables by determining the distances that the wheel components should travel according to the speed we have determined. Let's make the wheel components move towards this distance we have determined. Let's make the wheels attached to the wheel assembly rotate according to the train speed. Let's make the train move according to the position of the wheel components If the wheels are not in contact with the rail or are too low, you can experiment with changing the values until you find the correct setting in the spline file. Let's define the necessary parts of the train into the Static Mesh fields When the wheels reach the end of the Spline, let's create another macro to loop it and make it continue or stop. Train pivot is different and sideways, I fix this using modeling tools If the Rail, Train or wheels are not moving in the right direction, you can change their pivots as I have shown.