Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

NavMesh Agent doesn't jump

Discussion in 'Scripting' started by litebox, Mar 16, 2017.

Thread Status:
Not open for further replies.
  1. litebox

    litebox

    Joined:
    Aug 29, 2011
    Posts:
    158
    Hi, I'm using NavMesh to organize in-game AI movement.

    All is working great, except the one thing: NavMesh Agent can fall from hill, but doesn't jump on hill.
    I've found this thread from 2013, where people say, that Unity can only generate links to fall from hill, but if you need to jump on hill you have to create OffMeshLink manually:
    http://answers.unity3d.com/questions/588132/agent-wont-traverse-auto-generated-offmeshlinks.html

    I create one OffMeshLink and this is working, but it's very annoying to create OffMeshLink for every place, where AI can jump on barrels, beds, etc.

    I wander, does something changed from 2013, or this restriction of NavMesh could not be solved automatically, and we have to prepare every place for jumping manually (in this case Generated Off Mesh Links are not very useful feature at all)
     
  2. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    6,294
    There's work in progress for updating the Navmesh system. Check here.

    I'm not sure if anyone has brought up how big of a drawback it is that the automatic offmesh linsk are one-way only, so you might want to create a thread in that forum about it.
     
  3. litebox

    litebox

    Joined:
    Aug 29, 2011
    Posts:
    158
  4. hippocoder

    hippocoder

    Digital Ape

    Joined:
    Apr 11, 2010
    Posts:
    29,723
    Locked / double posting, refer to other thread.
     
Thread Status:
Not open for further replies.