Search Unity

Nav Mesh Agent Type Humanoid Ogre

Discussion in 'Navigation' started by marjan, May 7, 2017.

  1. marjan

    marjan

    Joined:
    Jun 6, 2009
    Posts:
    563
    Hi,
    i just downloaded 5.6 Navigation Components and played around withit. While doing so i found a new parameter inside Navmeshagents: Agent Type.
    There is a dropdown menu with two selections: Humanoid / Ogre.

    So i toggled to Ogre, which led to errors at runtime. Documentation: Zero. Google search: Zero.
    What the hell is Ogre???
    Please enlighten me!

    Curiosity killed the cat...
     
  2. christougher

    christougher

    Joined:
    Mar 6, 2015
    Posts:
    558
    There is a sample scene from the github that demonstrates different agent types. Check that scene out. You probably don't have a Nav mesh baked for the ogre in your scene. Different agent types need separate Nav meshes. You'll notice that NavMeshSurface.cs also has agent type. It allows for tiny and large agents, so say a mouse can fit through small areas and the ogre has to go around.