How do I make an actor rotate at specific points along a spline?

I’m trying to get a model to rotate at specific points along a spline. The closest I’ve been able to get is using a delay node, followed by “set actor/world rotation” (both work the same). However, once the second rotation node activates, it constantly flips back and forth. Also, how do I reset the rotation when it reaches frame 0?

Here’s a video of my problem.

1 Like

If you want to get it aligned with the direction of the spline you need to align the object to the tangent:

(Sorry it didn’t paste the screenshot :rofl:)

4 Likes

How do I do that?

2 Likes

I’ve tried that, but it just makes the model constantly rotate in ways I don’t want it to.

2 Likes

Oh, you want to keep it vertical while moving! I didn’t understand that, this should work:

If you need to swim vertically too you need to adjust the Pitch value and round it to 0/90/190/270 depending on its value

3 Likes