NavGridOptions

Extends: roAssociativeArray

Options for new BGE.NavGrid().

Properties

  • cellSize (float) — Width and height of each cell. Smaller finds narrower gaps but costs more memory and
  • agentRadius (float) — Solids are grown by this much before they block cells, so paths keep the agent's body clear
  • minX (float) — Bottom-left corner of the area the grid covers. Default 0 (only used with width/height).
  • minY (float)
  • width (float) — Size of the area the grid covers. Give both, or the grid covers every solid in the world
  • height (float)