Search Unity

Additional forces affecting Agent movement

Discussion in 'Navigation' started by mistergreen2016, Oct 8, 2018.

  1. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    226
    Hey,
    I'm adding a faux gravity force to an agent on a small planetoid. The problem is it affects the agent's movements especially when it comes to a navMeshLink. It either stops or traverse up & down the link. I guess the forces are interfering on the movements.

    Any ideas on how to handle this problem?
     
    Last edited: Oct 8, 2018
  2. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    If you're letting your NavMeshAgent automatically handle NavMeshLinks, you should probably disable that and write your own solution for it. Furthermore make sure your faux gravity is disabled as long as you're grounded, that will probably stop it from interfering with your movement speed.