Recast Navigation agent radius

Hi everyone!

I have a question about Recast navmesh and the agent radius property. It seems to work really weirdly even in the playground example that is linked to the docs.

Crowd navigation within a navmesh | Babylon.js Playground (

If you increase the agentParams variable radius from 0.1 to 0.5, you will see what I mean…

So I keep on wondering what is the correct way to modify agent radius, since it is the most important agent parameter in the whole navmesh system. I don’t really understand the scale and what to do with it… Please advice :slight_smile:

Modifying the params feels a bit like this :stuck_out_tongue:
Frustrated Programming GIF

Never mind, I just realized the createCrowd function has maxAgentRadius -parameter, oops! Funny how it works a bit weirdly if you go above it though :open_mouth: