Why does Pause/Unpause Trait not work?

Hello

   armory.logicnode.PrintNode:13: State2:  paused
    armory.logicnode.PrintNode:13: State3: paused
    armory.logicnode.PrintNode:13: State1: rotate
    armory.logicnode.PrintNode:13: State2: rotate
    armory.logicnode.PrintNode:13: State1: rotate
    armory.logicnode.PrintNode:13: State2: rotate
    armory.logicnode.PrintNode:13: State3: rotate
    armory.logicnode.PrintNode:13: State1: rotate
    armory.logicnode.PrintNode:13: State2: rotate
    armory.logicnode.PrintNode:13: State3: rotate

stateMachines1.blend (783.6 KB)

Armory 2020.2 and Blender 2.81a, Windows 10 64

Regards

Another simple example doesn’t work either



stateMachines1-1.blend (745.5 KB)

“getTrait” does not seem to work if the first letter of the trait name is lowercase.
Reported on github.

As a workaround, traits can work by capitalizing the first letter of the trait name.

1 Like