use obstacle-in-path pathfinding
This commit is contained in:
@@ -118,6 +118,16 @@ function laneScenario() {
|
||||
}
|
||||
}
|
||||
game.logic = gameLogic
|
||||
|
||||
// const uBottomPoints = [
|
||||
// midSouthWallPoints.at(0).clone().sub(midWallThickness),
|
||||
// midSouthWallPoints.at(1).clone().sub(midWallThickness),
|
||||
// midNorthWallPoints.at(-2).clone().add(midWallThickness),
|
||||
// midNorthWallPoints.at(-1).clone().add(midWallThickness),
|
||||
// ]
|
||||
// const uBottom = new Terrain(uBottomPoints)
|
||||
// uBottom.id = 'uBottom'
|
||||
// game.addTerrain(uBottom)
|
||||
}
|
||||
|
||||
app.listen(port, () => {
|
||||
|
||||
Reference in New Issue
Block a user