- Home /
Navmeshagents and Physics Materials
I have a feeling this is a pretty answer, so I'll make this question short:
I'm trying to achieve an "icy" effect in my scene. I made a quick physics material and added it to a cube with a collider, setting the dynamic and static friction on the material to 0. If I set another object with a collider and a rigidbody on the "ice," it slides around as intended.
However, my player object navigates using a navmeshagent and a baked navmesh-- and when it walks onto my ice patch, there's no difference in his movement. He has a collider and a rigidbody, on top of his navmeshagent-- the rigidbody is set to kinematic. I had a feeling the agent would cause problems, but even if I uncheck "is kinematic" on his rigidbody (so that physics should affect the object, right?) there's still no effect when walking onto the ice.
Are navmesh agents just incompatible with physics materials, or am I missing something?
Your answer
Follow this Question
Related Questions
Navmeshpathstatus is not working. 0 Answers
NavMesh Agent Pushes Objects Through Floor 1 Answer
Navmesh Agent velocity VS physics 1 Answer
Allow navmesh agents to be pushed off navmesh 1 Answer
Navmesh pathfinding "scattering"? 1 Answer