Reply To: Events sent in OnCollision slip through between states

Forums ๐Ÿ’ฌ NodeCanvas โš™๏ธ Support Events sent in OnCollision slip through between states Reply To: Events sent in OnCollision slip through between states

#23142
Gavalakis
Keymaster

    Hello and sorry for the late reply. Happy new year!

    This is a bit hard to debug exactly what the flow of the FSM is in this case. So, indeed the the transition conditions of a State are enabled only once the State is enabled (enter) and are disabled when the State is disabled (exit), and remain active for as long as the State is the active oneย  only (running or finished regardless).

    What confuses me in your example case, is: why is the OnDisable called (and therefore the event removed from listening)? Does another transition of the State (not the “stagger” event) take place first? If so, is the “stagger” event transition the first in the the list of transitions (transitions can be re-rodered in the State inspector panel and take place from top to bottom)?

    Is it possible to send me a small reproduction project/scene to ‘support_AT_paradoxnotion.com’ so that I can see better what the flow of the FSM is please?

    Thanks ๐Ÿ™‚