Announcement

Collapse
No announcement yet.

Place objects next to a spline and follow

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Place objects next to a spline and follow

    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
    Phil



    Something like this: https://www.youtube.com/watch?v=0Fr-YbV0VEo&t=89s
    Last edited by Sniw; 07-30-2019, 04:36 AM.

    #2
    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...thms-flocking/

    Comment


      #3
      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)

      Comment


        #4
        Something like this:
        Attached Files

        Comment


          #5
          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.

          Comment


            #6
            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
            Attached Files

            Comment


              #7
              Something like this?
              Two float variables stored on the object I'm spawning, their X and Y offset being set.
              Attached Files

              Comment

              Working...
              X