Intelligence · interface
NavigationBridgeOptions
Explained in Agents and behaviour.
interface NavigationBridgeOptionsimport type { NavigationBridgeOptions } from '@driftengine/ai';Properties
| Name | Type | Description |
|---|---|---|
snapDistancereadonlyoptional | number | How far a destination may be from the nearest graph node and still count as that node.MoreInfinite by default, which snaps to the nearest node however far away it is. A consumer with a sparse graph over a large world wants a real number here: without one, "go to the roof" routes to the nearest node on the ground and the agent walks confidently to the wrong place. |
maxNodesreadonlyoptional | number | Longest route the bridge will hold, in nodes. |