Commit Graph

44 Commits

Author SHA1 Message Date
e1a1522269 Correctly calculate direction and distance with yaws. 2022-08-04 14:30:07 -05:00
57091d7e9e cargo fmt
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-02 17:17:08 -05:00
c0a1befd98 Correct distance calculation between colliders. 2022-08-02 17:14:51 -05:00
4495174be0 Fix yaw calculation. 2022-08-02 16:49:27 -05:00
2ff8a858ed Update to Bevy 0.8. 2022-08-01 11:38:15 -05:00
bd899b9c8e Reorganize.
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-19 11:56:41 -05:00
1721dc98f8 Refactor helpers for direction and distance, adding some that take colliders into account.
Some checks failed
continuous-integration/drone/push Build is failing
2022-07-19 11:24:45 -05:00
29405c7307 Port to Synthizer. 2022-05-23 13:35:25 -05:00
480e3cc6a5 Consistently convert coordinates. 2022-05-18 10:28:19 -05:00
0a141f078b Add PointLike implementation for GlobalTransform. 2022-05-11 13:34:03 -05:00
13d1cb0734 Get rid of Coordinates. 2022-05-10 13:56:49 -05:00
9307852eda Initial port to Bevy 0.7. 2022-05-06 11:07:59 -05:00
4f1c420348 Switch to here_be_dragons.
Some checks failed
continuous-integration/drone/push Build is failing
2022-03-18 15:58:27 -05:00
27baaceaea Ditch constructors in favor of From conversions where it makes sense. 2022-02-11 08:44:41 -06:00
c0980f66c1 Use new format strings. 2022-01-19 16:38:32 -06:00
698f12d9bd WIP: Continue upgrade. 2022-01-10 23:05:51 -06:00
356caa09e0 WIP: Begin porting to Bevy 0.6. 2022-01-10 13:52:27 -06:00
83ee2635d1 Replace 3:00 and 9:00 with right and left. 2021-11-29 12:35:54 -06:00
91b058995c Make relative direction presentation configurable. 2021-11-29 12:29:45 -06:00
e6fce1e28f Replace 12:00 with ahead, and 6:00 with behind. 2021-11-16 16:30:58 -06:00
d43a4228fd Add Default implementation for Pool. 2021-10-05 09:16:44 -05:00
b24a30a5d3 Correctly sort coordinates when moving between features. 2021-09-27 13:18:45 -05:00
9a85544ad5 Use clock facings for relative directions. 2021-08-31 21:15:52 -05:00
ffa783bff1 Tweak spawn table creation to not overflow. 2021-08-03 08:57:40 -05:00
7fe808b2a1 Tweak sync queries to include positions for which rigid body/collider positions aren't automatically synced by Rapier. 2021-07-28 09:36:50 -05:00
5dbc6510bc Add degrees getter for cardinal directions. 2021-07-26 16:07:34 -05:00
e6af8f7618 More optimizations to coordinate/position sync. 2021-07-20 11:36:09 -05:00
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
52ba77be46 Remove old area system. 2021-06-30 09:43:26 -05:00
a5fdea3292 Pathfinding takes physics into account. 2021-06-28 10:04:53 -05:00
16eac466a4 Parameterize Rapier user data. 2021-06-10 19:15:50 -05:00
3994c1c744 Avoid unnecessary coordinate changes. 2021-06-09 17:24:56 -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
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
a2cf420963 Add PointLike conversion for Transform. 2021-06-01 11:01:51 -05:00
9c26f58724 Flatten footsteps. 2021-05-24 14:02:22 -05:00
f78e23c332 Always run this for now. 2021-05-23 12:55:00 -05:00
b2138d3e4c Describe directions relatively. 2021-05-16 17:24:26 -05:00
9b124e5640 Put direction before distance. 2021-05-16 16:50:20 -05:00
3332d0a88d Initial commit. 2021-05-13 12:25:45 -05:00