Getting angles and direction on a spline?

I think it’s probably because the engine arbitrarily decides to turn -180 into +180 and vice versa.

The usual solution ( I don’t know if you can get that to work here ), is to only work with relative differences. In your case that’s only 90.

Hello Answer Hub!

I’m trying to build a procedural pipe system by using a Spline in a Blueprint actor. The pipes should not deform though, and I’d like to use Instanced Static Meshes to build the pipe. On the corners I’d like to add a bending (90 degrees) piece, and they need the correct rotation on them, obviously.

And for some reason I’ve hit the limits of my brain. because the pieces marked with squares (in the screenshot) have a different angle setup between each other, but Blueprint is thinking they’re the same setup.

  • Leave: This is the Leave tangent on this spline point
  • Direction: This is the direction the
    spline continues from

You can see more issues along the spline, but the problem seems to be the same.

Any ideas how I could solve this?

Thanks in advance!

Noticed I didn’t hook up the Directions correctly for the debug text. Fixed in the screenshot below.

@Abraxas86 did you ever figure this out, I’m having the same sort of issues