Search Unity

How to slow down speed when agent goes through offmehslink?

Discussion in 'Navigation' started by dienat, Jan 19, 2017.

  1. dienat

    dienat

    Joined:
    May 27, 2016
    Posts:
    417
    I created a gameobject with a offmeshlink component and it works fine but when uses offmehslink the agent increases speed and movement is unrealistic, can speed be slowed down when agen crosses the offmehslink?
     
  2. Jos-Yule

    Jos-Yule

    Joined:
    Sep 17, 2012
    Posts:
    292
    Check out the NavMeshAgent's "isOnOffMeshLink"
     
  3. dienat

    dienat

    Joined:
    May 27, 2016
    Posts:
    417
    I was already using that but there is always noticed some change of speed when going through offmeshlink. I tried using mecanim animations but does the speed, speeds up when going through

    Also when going through offmeshlink walk animation doesnt work, just moves without animation
     
    Last edited: Jan 21, 2017
  4. MBraiN

    MBraiN

    Joined:
    Jan 17, 2013
    Posts:
    2