How do I set up the navmesh agent's pivot? height not working

As you can see from the title, I want to make Navmesh’s agent height bigger.
It seems that the pivot is held in the center and buried halfway on the floor.

Is it a problem that can’t be solved just by increasing the height, which is the default parameter value, when I set the pivot up?


Adding @Cedric the navmesh author :slight_smile:


Cube mesh origin is its center. Change its Y offset to half of its height so it will touch ground without getting in the ground.

Check line 60

Crowd navigation within a navmesh | Babylon.js Playground (

1 Like

I was wandering around because I’m not used to it yet, but thank you so much for your help!

1 Like