I’ve just finished series of video of how to create a road tool using splines. it starts off introducing the new spline and spline mesh components and finishes with using them to create a road placement tool.
I did a similar video last week but have redone it because I improved the tool.
Feel free to give me feedback and if you like it then please subscribe to my channel so you receive future tutorials. I’ve got lots planned, including particles, Engine Architecture and also c++. Also will have some maya fluid simulation tutorials at some point in the future.
is just perfect
I had planned to work on learning the spline tool to make a road tool today, and was in the process of looking for tutorials, and then I found .
Thank you for the videos, is going to help a lot!
Fantastic tutorials ! I am just getting into working with splines and tutorial will help guide me through learning a bit more. Keep up the great work and hope to see more tutorials from you in the future. Have a great day!
I am having trouble getting the spline edges to smooth using Tangent Scale however.
Meshes are 25x25x0.
I can set the Tangent Scale anywhere between 1 and tens of thousands with little or no visual change. Seems like the material changes slightly, but not the actual shape of the mesh. If I set the scale to hundreds of thousands I can start to get separation on the meshes and then they rotate around individually.
From the screenshot, it looks like everything is hooked up ok. The main thing I would check is if the static mesh has enough divisions and therefore vertices so that the can support a smooth deformation. If there are no vertices along the mesh then it will just draw a straight polygon.
GIMP wouldn’t help you here. Unless it can export obj/fbx files I created a plane in Silo with many divisions and exported as an fbx. When I show the wireframe of the model in the video you can see how many vertices it has. You can use maya, max, blender or Silo (which is on sale as part of a mac bundle here for $20 …http://www.macheist.com/#overview).
You can’t create that in the editor at the moment. I’m thinking of creating some plugins which allow you to make custom in the editor.
Love the tutorial, really took me far. My one problem I’m having is rotating the vertex, specifically on the Z axis. X and Y they seem to work (might need to figure out a way to add more segments on curves but thats another story). When I use the rotation tool and use the Z axis it has either no effect or gets completely disfigured. I’ll have to investigate more.
Are you talking about rotating the tangents on the curve in Z? I don’t think that would work as you are spinning an vector around the way it’s pointing. Hard to explain but basically the vector still ends up pointing in the same direction and doesn’t effect the direction.
If you want to rotate something that is places along the curve, then there is an attribute on the spline mesh component for the roll (one at each end so you could get some twisty effect going on). Or for static mesh component, you could rotate it around the curve direction/tangent.
Thanks a lot for tutorial . I’ve taken the basic idea and extended it in 4.5 to support splines with knowledge of their orientation and width, so you can rotate/twist tracks and there are also no gimbal lock issues due to using world Up to calculate rotations etc:
Unfortunately change has required some low-level engine modifications so it’s not a blueprint-only solution. Happy to post the code though if anyone is interested… give me a few days to clean it up though!