Commit Graph

367 Commits

Author SHA1 Message Date
2abeb3b08c Don't sync transforms with a ColliderPosition, and also don't sync if they're already equal. 2021-07-20 10:53:44 -05:00
a591326734 More robust area descriptions. 2021-07-19 12:16:47 -05:00
9a2495d9de Rename AreaTag to Area. 2021-07-19 11:30:27 -05:00
fedd8b69e0 Return to official upstream. 2021-07-19 09:05:22 -05:00
48e6b9ff61 Minimize number of colliders by tracing walls. 2021-07-14 16:06:26 -05:00
3de4b69030 Allow collider/portal spawning to be run separately. 2021-07-14 12:52:03 -05:00
e705451020 Use main repository for now. 2021-07-14 10:10:56 -05:00
fc9e561be7 Appease Clippy. 2021-07-13 12:26:51 -05:00
1391856478 Bump mapgen. 2021-07-13 12:22:50 -05:00
4749a09c5b Compute AABB on area addition. 2021-06-30 11:16:57 -05:00
1da536d274 Order systems such that portal and collider-spawning are ordered. 2021-06-30 09:53:11 -05:00
52ba77be46 Remove old area system. 2021-06-30 09:43:26 -05:00
5ff4a92c44 Migrate area description logger to new areas. 2021-06-29 10:36:59 -05:00
80f163f65f Move new area initialization to existing collider initialization system. 2021-06-29 10:31:18 -05:00
0b37adb797 Add new area system. 2021-06-29 09:29:49 -05:00
0700c3d30c Remove in favor of stopping physics processing. 2021-06-28 12:26:30 -05:00
a5fdea3292 Pathfinding takes physics into account. 2021-06-28 10:04:53 -05:00
64499a6278 Broaden circumstances in which paths are calculated. 2021-06-16 13:35:32 -05:00
822e60e722 Fix visibility logging. 2021-06-16 13:09:21 -05:00
98bca77f66 More tweaks to pathfinding and visibility. 2021-06-16 11:28:06 -05:00
2e805b3b8b Use physics for pathfinding. 2021-06-15 17:48:49 -05:00
7545dd6bd3 Switch to fork until issue is fixed. 2021-06-15 13:37:41 -05:00
16eac466a4 Parameterize Rapier user data. 2021-06-10 19:15:50 -05:00
06d47a0a60 Try to lock angular velocity when not rotating. 2021-06-10 11:16:39 -05:00
a461b0907f Update shape size/position for calculating visibility. 2021-06-10 09:31:48 -05:00
24db52abd9 Refine visibility algorithm. 2021-06-09 17:42:04 -05:00
3994c1c744 Avoid unnecessary coordinate changes. 2021-06-09 17:24:56 -05:00
2635dcbb9c Use mapgen::Map directly. 2021-06-09 14:53:48 -05:00
173630edab Refactor visibility to use physics system. 2021-06-09 14:13:09 -05:00
eefd3a2209 Add possibly useful conversions. 2021-06-08 10:10:59 -05:00
08e6c4779a Use colliders for portals, and other cleanup. 2021-06-07 12:43:20 -05:00
c85fdb67c9 Add BlocksVisibility to visibility-blocking colliders. 2021-06-04 07:58:38 -05:00
f01b0856f4 Move collider add code into MapPlugin. 2021-06-04 07:39:53 -05:00
72c647385a Fix collider cube sizes, and more aggressively clear velocity. 2021-06-04 07:34:58 -05:00
ee751fbb74 Enable some features. 2021-06-03 11:50:56 -05:00
99b6da1953 Basic rotation works. 2021-06-03 09:04:48 -05:00
ac728cc864 Re-export Rapier. 2021-06-02 19:41:06 -05:00
c4533c7024 Remove collision indices. 2021-06-02 17:02:38 -05:00
b6fe9d420e Introduce physics to movement controls. 2021-06-02 16:53:35 -05:00
1c970a3f41 Remove custom movement system. 2021-06-02 16:25:28 -05:00
6c3db77e9e Spawn colliders for blocked tiles. 2021-06-02 15:50:38 -05:00
5a6a3efb35 Sync rigid body positions with coordinates, and don't sync coordinates for physics objects with transforms 2021-06-02 15:50:12 -05:00
cc249ad4fb Add and initialize Rapier. 2021-06-02 14:47:49 -05:00
c41f5470c9 Add RandomTable for spawns. 2021-06-02 11:40:40 -05:00
20692919dc Add Pool for tracking current and max stat values. 2021-06-01 19:38:33 -05:00
6eabdf52ab Bring collision monitoring in line with visibility blocking. 2021-06-01 12:35:14 -05:00
e28f21c351 Remove entity from old index before recalculating collision/visibility of tile. 2021-06-01 12:14:27 -05:00
a2cf420963 Add PointLike conversion for Transform. 2021-06-01 11:01:51 -05:00
33921acee8 Add configuration factors for forward/back/strafe motion. 2021-05-30 14:35:10 -05:00
d5c580f165 Make action type generic for ExplorationPlugin. 2021-05-26 17:30:34 -05:00