I just downloaded Armory and I can’t seem to get the logic nodes to work. I’ve added my node under Armory Traits for the object but a simple object translation doesn’t seem to work. I don’t know if it’s the keyboard node not picking up my key inputs or the nodes aren’t simply working for me?
I’ve also looked at the “logic_basics” example and I seem to have everything in place. I’ve also played some of the examples and they work fine.
In git version, I have now adjusted the name for Keyboard node to Keyboard State. Hopefully that makes it easier to tell those nodes apart.
On top of that, Armory now also logs error for the (wrong)node setup below: Armory Error: Wrong connection in logic node tree "NodeTree" - node "Print" - socket "In"
I’m not sure if it’s possible with the limitations that blender has, but I’d like if it swapped colours of a node to red if an error occurred, professsional style!
I would argue that if we can tell in the code that it’s wrong and won’t work, that we shouldn’t let the user plug it in in the first place… Almost guaranteed though that this should be a feature request on Blender’s issue tracker, not Armory’s.
That depends. It would only be a Blender issue if the Blender API doesn’t support it. It might be completely possible for Armory to implement without changes to Blender. We might just need to add the checks for node type.
Hi! I think it is not described so good in the tutorial.
I needed two hours to find out, that the problem is that NodeTree has to be added to each object under ArmoryTraits - > Nodes.