[Merged by Bors] - Expose transform propagate systems#7145
[Merged by Bors] - Expose transform propagate systems#7145lewiszlw wants to merge 4 commits intobevyengine:mainfrom lewiszlw:expose-propagate-transforms-system
Conversation
|
You need to use both |
|
Won't work unfortunately, since you can't yet control when plugin systems run. |
I'm trying to store stages in plugin like this, There are two problems
What's your thought to allow plugin to be added with different system labels? @james7132 |
Could we expose a single system that would run both? Not used in Bevy, just for external consumption for the case when someone wants to run global transform propagation when they want |
We could just have a function that returns a SystemSet. That'd allow users to do what they want with it (add it to their own stages, label them however they wish, etc). |
Sounds good! @lewiszlw could you add this function as public, and mention it in the docs or comments of |
Sure. I'm not very good at English, feel free to correct doc. |
alice-i-cecile
left a comment
There was a problem hiding this comment.
Small corrections for the docs, then this looks good to me.
|
bors r+ |
# Objective - I tried to create a fork of bevy_rapier to track latest bevy main branch. But bevy_rapier depends on bevy internal `propagate_transforms` system (see https://github.com/dimforge/bevy_rapier/blob/master/src/plugin/plugin.rs#L64). - `propagate_transforms` system was changed to private in #4775. I don't know if it's reasonable that making `propagate_transforms` public. I also created an issue to bevy_rapier dimforge/bevy_rapier#307 to see how offical team will solve this issue. ## Solution - make `propagate_transforms` system public.
# Objective - I tried to create a fork of bevy_rapier to track latest bevy main branch. But bevy_rapier depends on bevy internal `propagate_transforms` system (see https://github.com/dimforge/bevy_rapier/blob/master/src/plugin/plugin.rs#L64). - `propagate_transforms` system was changed to private in bevyengine#4775. I don't know if it's reasonable that making `propagate_transforms` public. I also created an issue to bevy_rapier dimforge/bevy_rapier#307 to see how offical team will solve this issue. ## Solution - make `propagate_transforms` system public.
# Objective - I tried to create a fork of bevy_rapier to track latest bevy main branch. But bevy_rapier depends on bevy internal `propagate_transforms` system (see https://github.com/dimforge/bevy_rapier/blob/master/src/plugin/plugin.rs#L64). - `propagate_transforms` system was changed to private in bevyengine#4775. I don't know if it's reasonable that making `propagate_transforms` public. I also created an issue to bevy_rapier dimforge/bevy_rapier#307 to see how offical team will solve this issue. ## Solution - make `propagate_transforms` system public.
Objective
propagate_transformssystem (see https://github.com/dimforge/bevy_rapier/blob/master/src/plugin/plugin.rs#L64).propagate_transformssystem was changed to private in [Merged by Bors] - Parallelized transform propagation #4775.I don't know if it's reasonable that making
propagate_transformspublic. I also created an issue to bevy_rapier dimforge/bevy_rapier#307 to see how offical team will solve this issue.Solution
propagate_transformssystem public.