Skip to main content
POST
/
navmesh
/
generate
build navmesh from scene colliders
curl --request POST \
  --url http://localhost:3917/navmesh/generate \
  --header 'Content-Type: application/json' \
  --data '
{
  "cell_size": 1,
  "max_x": 50,
  "max_z": 50,
  "min_x": -50,
  "min_z": -50
}
'
{
  "blocked_cells": 42,
  "height": 100,
  "ok": true,
  "total_cells": 10000,
  "width": 100
}

Body

application/json

Grid bounds and resolution: cell_size (default 1.0), min_x/min_z (default -50), max_x/max_z (default 50). Rasterizes scene colliders into a walkable grid.

The body is of type any.

Response

200 - application/json

Navmesh built and stored as a world resource; reports grid dimensions and blocked-cell counts.