from lnx.logicnode.lnx_nodes import * class IsRigidBodyActiveNode(LnxLogicTreeNode): """Returns whether the given rigid body is active or sleeping.""" bl_idname = 'LNIsRigidBodyActiveNode' bl_label = 'RB Is Active' lnx_version = 1 def lnx_init(self, context): self.add_input('LnxNodeSocketObject', 'RB') self.add_output('LnxBoolSocket', 'Is Active')