Hello everybody,
I’m trying to create multiple objects to follow a given path.
In the end it should be something like a crowd.
This mass should spread around the spline at a certain distance.
My problem is that I can only make sure that the objects are exactly on the spline and not next to it.
Even if i try to make an offset by using vector math, these objects which are next to the spline are moving much faster in the edges…
I hope that you can help me…
Best regards
Something like this: UE4 - Population System (Walking People) - YouTube
If you truly want a “crowd” behaviour, you would need to look into an algorithm called ‘flocking’.
Link to help…
http://harry.me/blog/2011/02/17/neat-algorithms-flocking/
I don’t want a truly crowd behaviour.
Maybe for an easier understanding:
I just want multiple objects follow a spline (but distributed around its length)
Maybe another solution could be that particles follow the spline path.
Do you know if something like this is possible or how to achieve this?
Best regards.
Could someone explain me how i move mutliple instances in one blueprint along a spline. I’m trying since almost a week now and don’t get it…
It’s not a problem for one object…
But if I try it with more than one they all snipped to the same location as the first one.
Hopefully you have a solution
Something like this?
Two float variables stored on the object I’m spawning, their X and Y offset being set.