Add a obstacle to the list of existing obstacles.
Returns all the platforms around the specified object.
An array with all platforms near the object.
Get the obstacles manager of an instance container.
Remove a obstacle from the list of existing obstacles. Be sure that the obstacle was added before.
Generated using TypeDoc
PathfindingObstaclesManager manages the common objects shared by objects having a pathfinding behavior: In particular, the obstacles behaviors are required to declare themselves (see
PathfindingObstaclesManager.addObstacle
) to the manager of their associated container (seegdjs.PathfindingRuntimeBehavior.obstaclesManagers
).