-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Add serialize feature to bevy_transform #6378
Copy link
Copy link
Closed
Labels
A-TransformTranslations, rotations and scalesTranslations, rotations and scalesC-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?
bevy_transform is missing a feature corresponding to the top-level serialize feature. This makes it inconsistent with bevy_input, bevy_time, etc. and makes serializing Transforms with serde a non-trivial task.
What solution would you like?
Transform and GlobalTransform implement serde::Serialize and serde::Deserialize when serialize feature is enabled.
What alternative(s) have you considered?
This can often be worked around by using serde's remote def method.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-TransformTranslations, rotations and scalesTranslations, rotations and scalesC-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