PathfindOptions
Defined in: ai/nav/pathfind.ts:16
Properties
Section titled “Properties”diagonal?
Section titled “diagonal?”
optionaldiagonal?:boolean
Defined in: ai/nav/pathfind.ts:18
Allow 8-connected diagonal moves. Default true.
snapRadius?
Section titled “snapRadius?”
optionalsnapRadius?:number
Defined in: ai/nav/pathfind.ts:23
When start/goal lands on a blocked cell, snap to the nearest walkable one within this ring radius before searching. 0 disables snapping. Default 8.