-
(Bevy 0.11) I want to create the following
However, I don't know what to do because I don't know the difference between |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Schedules are groups of systems with optional ordering constraints between them. If systems are the smallest building block for code execution, schedules are kind of the largest. Schedules run on the System sets live inside schedules and allow you to group systems as logical units, just like you're thinking here. You can put a set of systems into a system set and configure that entire set to run before another set, or configure that entire set to only run on a specific condition. You'll want to consider how your collision systems interact with the rest of the engine to decide which schedule they belong in, but Update is a very sane place to start. As an example, if your system needs to access transform data after the engine has run the transform propagation step, it'll need to go in PostUpdate because that's where |
Beta Was this translation helpful? Give feedback.
Schedules are groups of systems with optional ordering constraints between them. If systems are the smallest building block for code execution, schedules are kind of the largest. Schedules run on the
World
and use their ordering constraints and run conditions to decide which of their systems to run and in what order.Update
is one of the core Bevy schedules.System sets live inside schedules and allow you to group systems as logical units, just like you're thinking here. You can put a set of systems into a system set and configure that entire set to run before another set, or configure that entire set to only run on a specific condition.
You'll want to consider how your collision systems …