Greetings everyone,
I had a problem while developing with Playmaker, I divided my FSM into basic movements, Attack states and Hit State for organizing. However, the attack state can override the basic movement state (walking as an example). My approach was to mimic MUGEN's organizing way(divide and conquer).
Everything was working fine before I divided them into multiple FSM states. Transition from Idle to attack will prevent movement all together. Now, I can solve that easily with boolean, but I want to know what is the best practice for such problem and is there a way that I can force Playmaker to run one and only one state regardless how many FSM are there?
I also noticed that global event such as OnTriggerEnter2D was working even if the other same game object didn't get hit by trigger box2D. So, does that mean the global events will run not on instance-based, but class-based? What if I want to make local multiplier, how can I solve that, do I have to make copy of FSM?
Regards,