How to handle units blocking destination

  • October 29, 2018 at 19:54 #23966
    pixlweaver
    Participant

    Hello!

    What’s the best way to handle steering/pathing for when a unit is blocking another unit’s destination? Unless I’m missing something here, quick start units will steer around each other along their path but when their destination is blocked by a unit (whether or not it’s moving), that unit is ignored and pushed out of the way.

    I’ve watched most of the Apex videos, been searching these forums and google to see if I’m missing something obvious. No luck so far.

    October 30, 2018 at 10:35 #23971
    Geminior
    Keymaster

    The default behaviour is indeed for stationary units to yield their position to moving units passing by or aiming to stop at their position. Basically the default mimics zergling movement.
    You can of course change that by modifying (or creating your own version of) the relevant components, such as SteerForUnitAvoidance and SteerForSeparation.

    October 30, 2018 at 23:45 #23976
    pixlweaver
    Participant

    Ok thanks, I’ll check out those components!

You must be logged in to reply to this topic.