Player getting pushed by enemies

After my player would get close to enemies, they would push him around infinitely.

See this video: https://www.youtube.com/watch?v=eQduCuaJm1E

It turns out it’s largely about the stopping distance setting in the “Nav Mesh Agent” component. I found that less than ,08 causes the unwanted behavior. But .08 or higher causes enemy and player to stop short adequately, so you want to make sure you change this setting in both Enemy and Player prefabs. stopping

1 Like

Privacy & Terms