I have a noob question. Is there in Urho something like a scheduler/sequencer in the form:
execute/schedule(function(), number_of_times, time_interval)?
That’s to execute the function times number of times every time interval…
Should be something tied to fixed timestep logic, what is the right event to connect it? E_PHYSICSPRESTEP ?
Running such a scheduler with physics steps could be an escamotage, but being a noob I cannot foresee if it could work…
Archive 19/01/2023.
Is there a fixed time step scheduler in Urho?
johnnycable
rasteron
You can do it with PhysicsPreStep like here in NSW…
Where it spawns objects at intervals with timestep
johnnycable
Ok, that hooks to the physics simulation then, as expected.
Thank you very much.