Spline mesh not following properly Spline in Z Axis

I was making progress in my game when i realized that i have that error, i have previously created this with the help of community: Help Making the trail, but i have this error, that i cant just resolve it, its like it cant align well with the Spline in the Z axis unless is near 0 in the z axis, here is a demostration of my problem (focus only in the red line):


this is the code that makes possible to follow the cycle, conciderating that the collition trail is a separated actor from the vehicle.
Spline logic 1:

2:

Spline mesh:

logic that updates the splines:

any help would be appreciated.

So apparently, the scale plays a crucial role in the movement, i was increasing the height and it was making it work weird, so if anyone gets the same issue just set the both of the scales(spline and spline mesh) the same and it will work just fine

1 Like