Spline System in Unreal

Right now, I am trying to create a roller coaster system, but as you can see, I am experiencing some issues:

-The end and start rail cannot be connected to each other.

-The size of the bottom tube is squeezed.


1 Like

Flag the Spline Component as Closed.

  • can we see the actual mesh? When you say bottom tube - does it mean there is more than one SMC mesh that makes this rollercoaster track?
  • can we see the transform in the Add Spline Mesh Component’s details panel?
  • you probably do not need the attachment, it’s set to automatic it seems
1 Like


i am talking about the bottom part. somehow my mesh is being squeezed. the best solution, would be if the mesh would always had his full size

When i flasg the spline component as closed, my spline will be connected but not my mesh

You will need to provide more details regarding the mesh and how things are set up. See above.

1 Like


thats how my “add Spline Mesh component” detail panel looks like

the squeezing is fixed. the spline was generating the rail with spline points, instead of the lenght from the spline. i could fix it, with changing the BP. but now i have new problem, where i have a gap between end and start mesh, when i flag it as closed

the original plan is to have a decent rail system, where the rail get a attachment at the bottom part, which will connect the rail with the ground.

thats how it looks now.

The math for a Closed spline would need you to change this to -1 instead:

image

1 Like

You’re right, that fixed the gap in the BP, but the size of the rail is either squeezed or stretched.

I changed the entire BP, so the mesh proportions don’t change.