Spline mesh : Rotate 180 at last spline point

Hello there,

I’m trying to customize a spline tools to have an entry mesh, a middle segment mesh and an end mesh. The assignement of all the different parts depending on a spline index counter is working but sadly I got a lot of issues regarding the spline itself.

First of all, I have no clue why the meshes have a 90 deg rotation and do not follow the direction of the spline. This happened many times as a bug after working on the blueprint.

Secondly, I’m trying to rotate the last mesh on itself (with last spline point location). So that if I got a pipe with a start mesh, I can use this same mesh to close the spline. Doesnt seems to work so far… I’m running out of ideas.

BLUEPRINT: Spline test posted by anonymous | blueprintUE | PasteBin For Unreal Engine

The spline without connecting the rotation.

With the rotation…

I can show more if needed.
Thanks!