Upload files to "leenkx/blender/lnx/logicnode/animation"

This commit is contained in:
Onek8 2025-03-12 13:00:13 +00:00
parent aead4c4903
commit ccdfc4246f

View File

@ -0,0 +1,16 @@
from lnx.logicnode.lnx_nodes import *
class SetBoneTransformNode(LnxLogicTreeNode):
"""Sets the bones transform in world space."""
bl_idname = 'LNSetBoneTransformNode'
bl_label = 'Set Bone Transform'
lnx_version = 1
lnx_section = 'armature'
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxNodeSocketObject', 'Object')
self.add_input('LnxStringSocket', 'Bone')
self.add_input('LnxDynamicSocket', 'Transform')
self.add_output('LnxNodeSocketAction', 'Out')