Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Navmesh collision jitter problem

Discussion in 'Navigation' started by AdinaS, Feb 9, 2016.

  1. AdinaS

    AdinaS

    Joined:
    Jan 19, 2015
    Posts:
    24
    I have a player and some enemies with navmesh agent on, if the priority is high player will start to jitter on collision, if the priority is low it will push enemies on collision. How can i resolve it?
    * It is good to use navmesh agent for player(click to move) for a mobile game?
     
  2. pixxelbob

    pixxelbob

    Joined:
    Aug 26, 2014
    Posts:
    111
    Navmesh is not perfect but it should be good enough for what you need.
    There are more fully features systems in the assets store such as the Apex suite.

    However, the collisions shouldn't jitter. Agents should avoid each other where possible.
    Is there anyway you can link to a video showing what's happening?
    What are the rest of the settings on your NavMeshAgents in question?
     
  3. AdinaS

    AdinaS

    Joined:
    Jan 19, 2015
    Posts:
    24
    I have a rigidbody(kinematic) and a collider(trigger) attached to them because I need to check collisions, probably that is the problem, but I don't know how to solve it. I read the docs and the one about navmesh with other components and I understood that I should move the player through velocity, but I don't get it to work right
     
    Last edited: Feb 14, 2016