Search Unity

Question Complex use of navmesh

Discussion in 'Navigation' started by moonsky70, Dec 7, 2021.

  1. moonsky70

    moonsky70

    Joined:
    Feb 28, 2015
    Posts:
    3
    Hi all! Below is an image of a navmesh area I've created.
    upload_2021-12-7_14-55-12.png
    The orange segments are doors- currently, they do not block navigation, and agents can move directly through them. I want to create some slightly complex behaviour regarding the doors. When they are 'unpowered,' agents should be able to open and pass through them (I'm somewhat sure I understand door-opening behaviours). When doors are 'powered,' certain agents should be able to open them normally- the rest should treat them as destructible obstacles.
    Are there navmesh-oriented solutions for this, or should I code this externally? If so, I think I already have some ideas for such.

    Thank you!
     
  2. N7D

    N7D

    Joined:
    Feb 25, 2017
    Posts:
    9