Hello, we are working on a project. I have a cube with a navigation mesh agent and a rigid body component, but this cube never falls to the ground. Also, when I shoot with a gun, the bullet hole is not visible, when the nav mesh agent component is turned off, the bullet hole is visible. I will be glad if you post your solution.
Navmesh agent snaps the AI to ground you can make better solution for this;
If a game object has a Rigidbody and a NavMesh Obstacle attached, the obstacle’s velocity is obtained from the Rigidbody automatically
This allows NavMesh Agents to predict and avoid the moving obstacle
https://docs.unity3d.com/Manual/nav-MixingComponents.html
or
You can use pathfinding system.
https://forum.unity.com/threads/navmeshagent-and-physics-with-rigidbody.837133/
2 of them should solve the case but if you want more complex thing, you can use A algorithm.*