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
Shouldn't the engine stop updating the systems if inside a system's update function, a state change was requested?
Right now it doesn't and that triggers the update functions on wrong systems because the SystemList is updated on the spot.
Am I using the EngineStateMachine wrong?
Who should order a state change?
Thanks,
Irinel
The text was updated successfully, but these errors were encountered:
I have seen too many problems in too many libraries where the library decides when to apply a requested change. So in Ash the change happens when you request it. If you want to make the change after the update cycle listen for the updateComplete signal from the engine and make the change then.
Hi,
Shouldn't the engine stop updating the systems if inside a system's update function, a state change was requested?
Right now it doesn't and that triggers the update functions on wrong systems because the SystemList is updated on the spot.
Am I using the EngineStateMachine wrong?
Who should order a state change?
Thanks,
Irinel
The text was updated successfully, but these errors were encountered: