Snap Actor to Spline

Hi,

I am trying to find a way to snap an Actor to the location along a spline.
My first ide was to set up a spline mesh with collision, and whenever a object hits that mesh, find the closes location along the associated spline and set the actor location to that point…

Is it even possible in Blueprints?

There is Find Location Closest To World Location or thereabouts, that should do the trick. You wouldn’t even need to deal with spline mesh collision, which can only be described as wonky at its best.

Here’s more info about interacting with spline mesh, just in case:

Thanks!
I will give it a ago later today, but when I tried this earlier it just gave me the location of the closest spline point?
What I need is a location along the spline…

That’s the first thing that came to my mind. May not work as well as I imagined. This node does return a world space location, though so it should be fine. I think there is another one for the closest point.

Consider giving it a try.