Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NavMesh Agent apply a negative Y velocity on the RigidBody #133

Open
UryonBlade opened this issue Mar 29, 2023 · 1 comment
Open

NavMesh Agent apply a negative Y velocity on the RigidBody #133

UryonBlade opened this issue Mar 29, 2023 · 1 comment

Comments

@UryonBlade
Copy link

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?

@h8man
Copy link
Owner

h8man commented Mar 29, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants