from lnx.logicnode.lnx_nodes import * class HasContactArrayNode(LnxLogicTreeNode): """Returns whether the given rigid body has contact with other given rigid bodies.""" bl_idname = 'LNHasContactArrayNode' bl_label = 'Has Contact Array' lnx_section = 'contact' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketObject', 'RB') self.add_input('LnxNodeSocketArray', 'RBs') self.add_output('LnxBoolSocket', 'Has Contact')