You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two features would allow for custom scheduling inside a Bevy loop:
Pass Schedules to RenetServerPlugin and RenetClientPlugin and pass it to plugin configurations to replace hardcoded PreUpdate and PostUpdate schedules. bevy_xpbd implemented support for custom schedules the same way.
Create a publicly accessible SystemSet and add them to important renet systems such as send_packets. So user code can use and configure the execution order of these sets within their own app.
A user may also desire to run systems with the currently hardcoded PreUpdate and PostUpdate schedules in the same schedule. In this case the plugin systems ordering must strictly rely on the SystemSet by configuring App with configure_sets to chain the elements of the SystemSet in the desired order.
The text was updated successfully, but these errors were encountered:
Create a publicly accessible SystemSet and add them to important renet systems such as send_packets. So user code can use and configure the execution order of these sets within their own app.
There is RenetReceive and RenetSend, with an open PR #134 to improve the situation further.
I agree that injecting the schedules would be useful.
I did not know about RenetReceive and RenetSend. This makes my request for more system sets unneeded.
Still though, being able to pass any schedule is still something powerful that is missing. This may put systems currently separated by schedules (PreUpdate, PostUpdate) into the same schedule if the user desires. To maintain the intended system order perhaps a SystemSet that simply has two Pre / Post elements for systems would suffice.
Two features would allow for custom scheduling inside a Bevy loop:
Schedule
s toRenetServerPlugin
andRenetClientPlugin
and pass it to plugin configurations to replace hardcodedPreUpdate
andPostUpdate
schedules.bevy_xpbd
implemented support for custom schedules the same way.SystemSet
and add them to important renet systems such assend_packets
. So user code can use and configure the execution order of these sets within their own app.A user may also desire to run systems with the currently hardcoded
PreUpdate
andPostUpdate
schedules in the same schedule. In this case the plugin systems ordering must strictly rely on theSystemSet
by configuringApp
withconfigure_sets
to chain the elements of theSystemSet
in the desired order.The text was updated successfully, but these errors were encountered: