Search Unity

NavMeshModifierVolume using an actual capsule?

Discussion in 'Navigation' started by christougher, Apr 25, 2017.

  1. christougher

    christougher

    Joined:
    Mar 6, 2015
    Posts:
    558
    I have a spherical object that I want to modify the navmesh bake, but I want it to be the area of an actual capsule shape that does the modifying as opposed to the cube shape. Is this possible? A navmesh obstacle has the option to use a capsule, although it actually ends up being a hexgonal cylinder. I imagine a sphere will increase bake time, but its the only way I can think of right now to alter my navmesh correctly...

    Edit: Actually I think I've figured it out using the NavMeshmodifier script...
     
    Last edited: Apr 25, 2017