NavMeshPlus icon indicating copy to clipboard operation
NavMeshPlus copied to clipboard

NavMesh Agent apply a negative Y velocity on the RigidBody

Open UryonBlade opened this issue 2 years ago • 1 comments

Hi, I added NavMeshPlus to my unity 2D project and I added to my enemies the navmesh agent to make them move.

It seems to work fine at the start but if I play my game for longer time, for some reason my enemies have a negative Y force applied. I tried to remove navmesh and this behaviour disappear

Am I doing something wrong?

UryonBlade avatar Mar 29 '23 12:03 UryonBlade

@UryonBlade Hello,

NavMeshPlus uses Unity "native" components. Your question is related to Unity NavMesh Agent and how it works with Physics. In general NavMesh and Physics doesn't work well without tweaks

https://docs.unity3d.com/Manual/nav-MixingComponents.html

h8man avatar Mar 29 '23 19:03 h8man