Static Mesh orientation along spline

I’ve been following DokipenTech Road Tool Spline Tutorials and I’ve gotten most of a road tool completed, however the static mesh is rotated 90 degrees. Can this be fixed by a local rotation of the static mesh? Is there a way to make the spline extend along the Y axis instead of the X?

I played around with the Set Relative Location and Rotation, but it doesn’t do what I thought it would.

I am not 100% certain, but what I had to do was to edit the rotation of the mesh in my 3D app. Basically, the orientation of the mesh needs to be correct in order to work properly with splines AFAIK.

Edit If you are using Blender as the 3D app, just remember that the forward vector is on a different axis than it is in UE4. The “Forward” direction in Blender is -Y, but the “Forward” direction in UE4 is +X.

http://rowvr.co/2015/01/03/get-from-blender-to-unreal-engine-4-quick-workflow-tips/

Select the spline segments concerned.

In the Details tab locate the Landscape Spline Meshes section.

Scroll down to find the Forward Axis and Up Axis dropdowns.

For the Content Example SM_Street static mesh the Forward Axis setting has to be Y instead of the default X to be mapped the way you want.

1 Like

yep it works if we use static mesh from 3d like blender. just rotate it 90 degrees in blender