Overview
TilePathService is the default pathfinding backend for Tile Tick Movement. It operates directly on TileCoord values and returns PathResult objects.
Traversal validation is delegated to GridManager, so paths respect walkability, slopes, step height, walls, and diagonal corner-cutting rules.
Inspector Settings
Remove Starting Tile If Present
Removes the start tile from the returned path so MovementMotor only receives tiles it needs to move into.
Log Path Failures
Logs warnings when a path request fails.
Max Iterations
Safety limit for node expansion. Prevents runaway searches on very large or invalid maps.
Public API
RequestPath(TileCoord startTile, TileCoord endTile)Requests a path from a start tile to a destination tile and returns a PathResult.
Runtime Properties
This service does not expose runtime properties intended for normal gameplay use.
Common Usage
PathResult result = pathService.RequestPath(startTile, destinationTile);
if (result.Success)
{
movementMotor.SetPath(result.Tiles);
}