7 Commits

Author SHA1 Message Date
Aevyrie
14db5acb64
Create FUNDING.yml 2024-06-07 22:56:24 -07:00
atomicbeef
946719c77e
Update GlobalTransform when changing FloatingOrigin (#10)
Currently, when the `FloatingOrigin` component is removed from one
entity and added to another, no `GlobalTransform`s are updated. This can
cause problems for things like switching between playable characters
that are in different `GridCell`s.

---------

Co-authored-by: Aevyrie <aevyrie@gmail.com>
2024-03-07 10:11:26 +00:00
atomicbeef
0907ec1d94
Use a SystemSet for system ordering (#5)
I ran into an issue when trying to add the transform propagation systems
to a schedule more than once. The app would panic because there was more
than one instance of `propagate_transforms::<P>` and
`recenter_transform_on_grid::<P>` in the system graph, so Bevy didn't
know how to actually resolve the dependencies. By using a `SystemSet`,
we can avoid this issue nicely.

Unfortunately, I couldn't come up with a good name for the set, so I
decided to stick the definition inside the `build()` method itself. That
way at least the poor naming won't be exposed 😛. It still feels a little
icky to me though.

---------

Co-authored-by: Aevyrie <aevyrie@gmail.com>
Co-authored-by: Pyxrs <simplycmd00@gmail.com>
2023-11-10 07:55:23 +00:00
Aevyrie
bd8e226491
Update rust.yml 2023-11-09 22:38:58 -08:00
Aevyrie
f663e645b5
Update rust.yml 2023-11-09 22:28:14 -08:00
Aevyrie
af13daf4a9
update CI 2023-07-17 23:01:15 -07:00
Aevyrie
cd234b586a
Create rust.yml 2023-03-29 01:11:38 -07:00