Can i spawn multiple actor on a spline whithout having them stacked ?

Hi, I need to spawn 5 actors at the same time following a spline, but when i do so they just stack

Absolutely. It sounds like you need the ‘get location at distance along spline’ node.

Hi ! thnaks for the answer, i already tried ‘get location at distance along spline’ but i want my actors to spawn at the same Spline point whithout being stacked

Can you show your code?


This is the code in my “BP_EnemyParent” to make them follow my spline i don’t know if you need anything else ?

1 Like

Right. Yes, nothing’s changing.

What type of variable is ‘follow spline’?

Normally you would use a timeline to move each enemy. But then it also helps to spawn them at different times.

Hi !
“FollowSpline” type is an object of my “BP_Spline” and here is the Event Graph of that spline

And that

Ok. No, the AI have to move themselves along the spline :slight_smile:

They are all in the same place, because they are all following the same point.

Yep thats what I thought there is no way to amke the spline wider ?

Or maybe i’ll have to make 5 splines and make my units follow one specific spline

1 Like

Second idea sounds better :slight_smile: