Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make stage placement configurable #157

Open
asafigan opened this issue Apr 23, 2022 · 2 comments
Open

Make stage placement configurable #157

asafigan opened this issue Apr 23, 2022 · 2 comments

Comments

@asafigan
Copy link

asafigan commented Apr 23, 2022

Right now the custom stage used by this plugin is set for after CoreStage::Update. For my game, I have to update some lines in CoreStage::PostUpdate after transform propagation. This causes the lines meshes to be one frame behind. I would like to make the custom stage placement configurable. I wouldn't want to change the existing interface for the plugin but I would like to add an alternative plugin which allows you to configure which stage to place the Shape stage after.

@Nilirad
Copy link
Owner

Nilirad commented Apr 28, 2022

Unfortunately, current limitations of the plugin system of Bevy renders it impossible. See:

As stageless will land soon-ish, this issue will probably be resolved. You can track the progress in these places:

@asafigan
Copy link
Author

This seems to no longer be and issue on master. There is no more custom stage and instead meshes are updated after global transforms are updated in CoreStage::PostUpdate. This allowed me to place a system before meshes where updated but after global transforms are updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants