UNPKG

hytopia

Version:

The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.

28 lines (21 loc) 1.18 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [server](./server.md) &gt; [PathfindingOptions](./server.pathfindingoptions.md) ## PathfindingOptions type Options for the [PathfindingEntityController.pathfind()](./server.pathfindingentitycontroller.pathfind.md) method. **Signature:** ```typescript export type PathfindingOptions = { debug?: boolean; maxFall?: number; maxJump?: number; maxOpenSetIterations?: number; pathfindAbortCallback?: PathfindAbortCallback; pathfindCompleteCallback?: PathfindCompleteCallback; verticalPenalty?: number; waypointMoveCompleteCallback?: WaypointMoveCompleteCallback; waypointMoveSkippedCallback?: WaypointMoveSkippedCallback; waypointStoppingDistance?: number; waypointTimeoutMs?: number; }; ``` **References:** [PathfindAbortCallback](./server.pathfindabortcallback.md)<!-- -->, [PathfindCompleteCallback](./server.pathfindcompletecallback.md)<!-- -->, [WaypointMoveCompleteCallback](./server.waypointmovecompletecallback.md)<!-- -->, [WaypointMoveSkippedCallback](./server.waypointmoveskippedcallback.md)