Hi, all!
I am working on a simple game about car driving.
For every wheel the same calculations are needed and my current approach is clumsy: there are four copies of the same FSM, changing the wheel collider for each.
It would be more efficient to have a single FSM launched four times during a single frame, just as in C# I would have a single procedure called four times.
What I should do, I guess, is this:
1. Launch the FSM for Wheel 1 and wait until it has completed its computations.
2. Do the same for Wheel 2.
3. Do the same for wheel 3, then for wheel 4.
4. Next Frame Event.
5. Restart the whole cycle.
But in Playmaker everything is asynchronous. So, how can I set up this organized sequence of events and actions?
Thanks in advance; I will be bery grateful for an answer.