2025-01-22 16:18:30 +01:00

12 lines
388 B
Python

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')