MCPcopy Create free account
hub / github.com/esengine/esengine / isWalkable

Method isWalkable

packages/pathfinding/src/navmesh/NavMesh.ts:330–332  ·  view source on GitHub ↗
(x: number, y: number)

Source from the content-addressed store, hash-verified

328 }
329
330 isWalkable(x: number, y: number): boolean {
331 return this.findPolygonAt(x, y) !== null;
332 }
333
334 // ==========================================================================
335 // 寻路 | Pathfinding

Callers

nothing calls this directly

Calls 1

findPolygonAtMethod · 0.95

Tested by

no test coverage detected