Search Unity

door dimensions vs agent dimensions

Discussion in 'Navigation' started by januszbadziej1965, Oct 5, 2018.

  1. januszbadziej1965

    januszbadziej1965

    Joined:
    Mar 5, 2018
    Posts:
    13
    Hey, what are the correct settings for navigation build for world with multiple door holes with dimensions 1x2 meters? Doors can have any rotation.
    It seems that even with Agent Radius 0.2 some of door holes don't have a navmesh poly...
    Why?
    Agent radius 0.2 means that agent is 0.4meters and door is 1 meters, it should certainly fit...
     
  2. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    You're probably having issues with the minimum navmesh area. any areas smaller than the area described by this setting will not get a navmesh on it. The default seems to be 2 units, meaning your 1 unit doorgap will not be allowed.
    This setting can be found in the Navigation window, under Advanced in the bake tab.