I’m having an issue where the enemies in my game (which have NavMeshAgents attached to them) will stutter as they move and as the camera moves. It’s basically the same problem as described here in a previous post:
https://forum.unity.com/threads/navmesh-and-rigidbody-causing-camera-jitter.515650/
(I wasn’t able to fix it based on the answers in that thread)
Vaguely, I know that this has something to do with my character’s movement being controlled by a Rigidbody2D, whereas the enemies are just being moved by the NavMeshAgent with no Rigidbody at all. I also know that it has something to do with the Game Objects’ movement and the camera’s movement and FixedUpdate() / Late Update() / Update().
If anyone knows how to get the stuttering to stop, that would be great. Otherwise, if there’s a more “hacky” solution where the NavmeshAgent’s pathing can “feed info” to a Rigidbody on the enemy objects for the sake of getting the player and enemy to both have movement determined by a Rigidbody, that would work too
Please see this link for a video of the stuttering: Imgur: The magic of the Internet