-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed as not planned
Closed as not planned
Copy link
Labels
C-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy
Description
What problem does this solve or what need does it fill?
Updating Transform
late or reading GlobalTransform
early are very common issues that result in a number of help requests and bugs in general.
What solution would you like?
Generate a warning in debug mode any time a Transform
is ever mutated after GlobalTransform
is propagated or a GlobalTransform
is accessed before it has been updated that frame.
What alternative(s) have you considered?
- Do nothing, accept this as a source of error.
- Develop some general method of specifying component dependencies.
- Keep positions from the last frame in
GlobalTransform
and propagateTransform
s at the end of the frame to ensure that worst case, systems accessing it will be a frame out of date, but still work. This could be accompanied with an error message.
alice-i-cecile
Metadata
Metadata
Assignees
Labels
C-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useD-TrivialNice and easy! A great choice to get started with BevyNice and easy! A great choice to get started with Bevy