How do I find the nearest spline and only follow that one?

In my BP I have it so when I press E (Boolean is set to true when overlapping a box component and false when overlap ends) my character follows a spline. This mostly works fine, but when there is more than one of the actors that contains the spline my character follows a random spline instead of only the one next to it. Is there a way to have the actor only detect the nearest spline and follow that one?

Hey @Turts.p!

Check out this thread that appears to have the solution you are looking for:

Let me know if the above works for you!

This solved my problem, along with moving the spline follow into the spline BP. Thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.