Move Enemies Along The Path?

Discussion in 'Buildbox 3.0' started by Scriv, Sep 12, 2019.

  1. Scriv

    Scriv Boxer

    Joined:
    Oct 28, 2018
    Messages:
    50
    Likes Received:
    22
    Hi Team. I'm just wondering how to make enemies individually move along the path towards the anchor point.

    I'm sure it's just something im missing something to do with ...

    posOnPath = path.positionOnPath(this.entity());

    Maybe?
     
  2. Scriv

    Scriv Boxer

    Joined:
    Oct 28, 2018
    Messages:
    50
    Likes Received:
    22
    as though every enemy has their own anchor point.... y'know.
     
  3. PunkPuffin

    PunkPuffin Avid Boxer

    Joined:
    Sep 27, 2018
    Messages:
    285
    Likes Received:
    195
    PositionOnPath will basically just project your asset on to the path it has nothing to do with the current path position
     
  4. Scriv

    Scriv Boxer

    Joined:
    Oct 28, 2018
    Messages:
    50
    Likes Received:
    22
    Sure, not that, but we're talking sticking objects to the path and making them move along it like they had individual anchor points. are multiple anchor points a possibility?

    obviously im not talking about the path move node.. im after enemies with the ability to move towards the character along the path
     
  5. Scriv

    Scriv Boxer

    Joined:
    Oct 28, 2018
    Messages:
    50
    Likes Received:
    22
    Anyone? moving enemies along the path individually?
     
  6. Scriv

    Scriv Boxer

    Joined:
    Oct 28, 2018
    Messages:
    50
    Likes Received:
    22
    No? .... just me then.... :(
     

Share This Page