Commit Graph

21 Commits

Author SHA1 Message Date
Manuel Vögele 61c48dff5e Force tokens to keep some distance from the outer walls as well 2022-02-15 17:54:36 +01:00
Manuel Vögele 3c9a86647e Cargo fmt 2022-02-15 17:50:55 +01:00
Manuel Vögele c928f46f7c Make all angles be between 0 and 2*Pi, to ensure pathfinding points are laid out correctly 2022-02-15 17:50:04 +01:00
Manuel Vögele 833aced2be Allow movement through etheral walls 2022-02-15 16:40:41 +01:00
Manuel Vögele 2bf52e62dd Simpler check for open doors 2022-02-14 17:20:18 +01:00
Manuel Vögele c11899fb17 Remove dynamic neighbor caching (more work is needed to adjust walls generated for keeping distance to the walls when opening and closing doors)
This partially reverts commit db7dd1c1c9.
2022-02-14 17:10:38 +01:00
Manuel Vögele 8eb29a4dce Prevent creation of unnecessary waypoints 2022-02-09 21:08:28 +01:00
Manuel Vögele db7dd1c1c9 Allow walking through open doors 2022-02-09 20:54:05 +01:00
Manuel Vögele 78b1e8cc4e Clippy 2022-02-02 10:51:30 +01:00
Manuel Vögele 4d6543174a Always keep tokenSize/2 distance from walls 2022-02-02 10:36:03 +01:00
Manuel Vögele b55af992ec Remove number of pathfinding nodes even further 2022-02-02 09:38:30 +01:00
Manuel Vögele 0f288b65d9 Remove number of pathfinidng nodes to improve performance 2022-02-01 20:23:38 +01:00
Manuel Vögele 9253f3decd Use an internal colission cecker for better performance 2022-02-01 17:58:06 +01:00
Manuel Vögele 188f6c15bf Cargo fmt 2022-02-01 13:57:14 +01:00
Manuel Vögele 1f434b3f6b Cleanup edge to the last node when done with pathfinding 2022-02-01 01:58:59 +01:00
Manuel Vögele 1e14ff24b0 Implement more clippy suggestions 2022-01-31 23:31:29 +01:00
Manuel Vögele cd61aa948e Implement clippy suggestions 2022-01-31 23:29:01 +01:00
Manuel Vögele 8817775201 Several pathfinding bugfixes 2022-01-31 23:09:16 +01:00
Manuel Vögele 673fa42a20 Call gridless pathfinder from rust code 2022-01-31 22:33:02 +01:00
Manuel Vögele 08f41ed2ff Rust code for gridless pathfinding 2022-01-31 21:48:20 +01:00
Manuel Vögele dc85609a75 Wasm skeleton 2022-01-31 11:03:25 +01:00