Currently calling the trigger method from a behavior through a connection does not work with all behaviors as expected.
While the functionality currently works when using the KeyBehavior, it does not when using e.g. an AlwaysBehavior, ControlsBehavior, or CollisionBehavior (others have not yet been tested).
This currently throws 2 errors:
Here is a recording of the setup used for replication:
Proposed solution: Make sure the trigger function of the StateMachineBehavior can be called through any connection from any behavior.
Currently calling the trigger method from a behavior through a connection does not work with all behaviors as expected. While the functionality currently works when using the KeyBehavior, it does not when using e.g. an AlwaysBehavior, ControlsBehavior, or CollisionBehavior (others have not yet been tested). This currently throws 2 errors:
Here is a recording of the setup used for replication:
Proposed solution: Make sure the trigger function of the StateMachineBehavior can be called through any connection from any behavior.