IPathfinder interface
Computes the path a mob would walk, using the same search as its navigator. Implemented by the server's navigator; cast IEntity.Navigator to use it. Call on the server tick thread, like the rest of a mob's AI.
public interface IPathfinder
In Obsidian.API.
Methods
FindPath(VectorD)
NavigationPath FindPath(VectorD target);Finds a path to target. Returns null when no path exists within range.