Search Unity

Rts questionning

Discussion in 'Navigation' started by Jurwane, May 21, 2017.

  1. Jurwane

    Jurwane

    Joined:
    Jul 21, 2016
    Posts:
    3
    Hi.

    I am currently tring to do a pathfinding system using unity integrated pathfinding system. Currently, it works fine but only for grounds unit. But i was wondering how could i add boat to my game.
    I tried to set different areas in the navigation tab , but i don't know how to make a agent use only one area.
    (Like a boat only use Water and a groundUnit only use Ground.)
    (Brown : Boat)
    (Grey : Ground Unit)
    (Blue : Water)
    (Green : Grass)


    Thanks !
     
  2. christougher

    christougher

    Joined:
    Mar 6, 2015
    Posts:
    558
    Look at the NavMeshAgent Area Mask Setting. I think that is what you are looking for.