Replies: 1 comment
-
My dodgy solution is to check the state in each system. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've been searching around for this and couldn't find a solution.
I'm using states in my game and would like some systems to run on every frame and some on fixed frames (e.g. because of deterministic physics).
I've used the fixed timestep method from the examples (https://github.com/bevyengine/bevy/blob/latest/examples/ecs/fixed_timestep.rs) and have been trying to match it with SystemSets/states from (https://github.com/bevyengine/bevy/blob/latest/examples/ecs/state.rs) without any luck.
Is there a way I can get this going? This is a cut down version of one of my states as a plugin.
Ideally I'd like the whole
Plugin
to run in a state to remove all references toAppState::InGame
to make it easier to read and less prone to error.Beta Was this translation helpful? Give feedback.
All reactions