NavMeshAgentMovement doesn't move with gravity, vertical and horizontal collisions disabled

Hi,

I have disabled gravity, vertical and horizontal collisions for my AI agents then they don't move.
I then realized that m_MoveDirection is mainly set in DeflectHorizontalCollisions and DeflectVerticalCollisions, am I correct?
How can I get around this?

Thanks for advance.
 
You don't need horizontal collisions for AI agents with a navmesh but you do want to use vertical collisions. This will allow the agent to move up and down with the ground. The Move Direction is set within UpdatePosition so it does not require the deflecting code to run.
 
Top