Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

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