Need help with Spline mesh elements and scaling

Hi all, so I am trying to plot orbit of planets in a sim I’m making. To do this, I am calculating the orbit, and then assigning spline mesh elements to all of the points. This has worked pretty nice so far, but I’m starting to have some problems with visualizing these. The problem specifically is that I cannot figure out how to scale the size of the elements without that in turn affecting the size of the spline itself.

I’ll add two images of this in practice, one is of a solar system sim.

In this sim, the scale is very small, but everything looks relatively nice. However, I’m working on more specialized scenarios like the Earth-Moon System. This uses fairly larger static meshes, but the spline element meshes used are the same. In this picture you can see that:

I’ll also attach the blueprint I use.

Right now it’s a little messy, and you’ll notice I need to assign the mesh twice. This is actually just two planes being added, which ends up making a cross that has the spline elements look like a tube from every angle.

Should I just make a larger mesh for these situations? I’d really like to be able to just simply scale the transverse axes of the elements however I need for the scenario.

Fixed! I took another look at the code and found I could change the scale of all the meshes iteratively, using a loop through the array I had set them all through.This changed the thickness of the spline mesh elements without stretching the points of the spline.

2 Likes