bevy_prototype_lyon icon indicating copy to clipboard operation
bevy_prototype_lyon copied to clipboard

Make stage placement configurable

Open asafigan opened this issue 3 years ago • 2 comments

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.

asafigan avatar Apr 23 '22 01:04 asafigan

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

  • bevyengine/bevy#2160

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

  • bevyengine/bevy#2801
  • bevyengine/bevy#4391
  • bevyengine/rfcs#45

Nilirad avatar Apr 28 '22 13:04 Nilirad

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.

asafigan avatar Nov 13 '22 07:11 asafigan