forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
11
leenkx/blender/lnx/logicnode/physics/LN_is_rb_active.py
Normal file
11
leenkx/blender/lnx/logicnode/physics/LN_is_rb_active.py
Normal file
@ -0,0 +1,11 @@
|
||||
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')
|
Reference in New Issue
Block a user