> ## Documentation Index
> Fetch the complete documentation index at: https://docs.eucaengine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Build navmesh from scene colliders



## OpenAPI

````yaml /openapi.json post /navmesh/generate
openapi: 3.1.0
info:
  title: Euca Engine API
  description: >-
    The typed HTTP API for the agent-native game engine. Local server runs
    unauthenticated on localhost:3917.
  license:
    name: ''
  version: 1.1.0
servers:
  - url: http://localhost:3917
security: []
tags:
  - name: World
    description: >-
      Inspect and mutate the live world: status, observe, entities,
      spawn/despawn, reset.
  - name: Simulation
    description: 'Drive the simulation clock: step, play, pause.'
  - name: Rules
    description: 'Rules-as-data: register and list gameplay rules.'
  - name: Gameplay
    description: >-
      Match lifecycle and gameplay actions: games, damage/heal, triggers,
      projectiles, AI, abilities.
  - name: Discovery and ops
    description: 'Operational introspection: world health diagnostics and GPU/engine info.'
  - name: Forks
    description: Counterfactual 'what-if' simulation on deep-cloned worlds.
  - name: Snapshots and probes
    description: Capture, list, and diff labeled world snapshots; probe = advance + assert.
  - name: Scenes and scenarios
    description: Persist scenes to disk and apply/export declarative scenario documents.
  - name: Inventory and economy
    description: >-
      Items, inventories, equipment, and the gold economy: define/give/equip
      items and list a unit inventory.
  - name: Status effects
    description: >-
      Timed buffs/debuffs with stat modifiers and tick effects: apply, list, and
      cleanse.
  - name: Templates and prefabs
    description: >-
      Reusable spawn definitions: named entity templates and registered prefabs
      — create, spawn, and list.
  - name: Assertions and manifest
    description: >-
      Testable expectations and sprint contracts: define/evaluate/list/delete
      assertions and set/read the game manifest.
  - name: Camera and render
    description: >-
      Control the render/editor viewport: camera pose and presets, screenshots,
      per-entity materials, post-processing, and volumetric fog.
  - name: UI and HUD
    description: >-
      Author the in-game HUD overlay: add text and bars, list, and clear
      elements.
  - name: Animation
    description: >-
      Skeletal animation: load clips, play/stop on entities, list the library,
      and attach state machines and montages.
  - name: Audio
    description: Play and stop global or spatial sound sources, and list the active ones.
  - name: Particles
    description: 'Particle emitters: create, stop, and list GPU/CPU emitter entities.'
  - name: Terrain and foliage
    description: Heightmap terrain create/edit and instanced foliage scatter/list.
  - name: Navigation
    description: >-
      Navmesh generation and A* pathfinding: build navmesh, compute paths, and
      set entity path goals.
  - name: Input
    description: >-
      Input bindings and context stack: bind/unbind keys to actions, list
      bindings, and push/pop input contexts.
  - name: Scripting
    description: 'Lua scripting: attach scripts to entities and list scripted entities.'
  - name: Assets
    description: >-
      AI-powered 3D asset generation: start jobs, poll status, and list tasks
      and providers.
  - name: Auth
    description: >-
      Optional session auth for hosted deployments; the local server is
      unauthenticated.
paths:
  /navmesh/generate:
    post:
      tags:
        - Navigation
      summary: Build navmesh from scene colliders
      operationId: navmesh_generate
      requestBody:
        description: >-
          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.
        content:
          application/json:
            schema: {}
            example:
              cell_size: 1
              max_x: 50
              max_z: 50
              min_x: -50
              min_z: -50
        required: true
      responses:
        '200':
          description: >-
            Navmesh built and stored as a world resource; reports grid
            dimensions and blocked-cell counts.
          content:
            application/json:
              schema: {}
              example:
                blocked_cells: 42
                height: 100
                ok: true
                total_cells: 10000
                width: 100

````