diff --git a/leenkx/blender/lnx/logicnode/animation/LN_set_bone_transform.py b/leenkx/blender/lnx/logicnode/animation/LN_set_bone_transform.py new file mode 100644 index 0000000..7a1ccf1 --- /dev/null +++ b/leenkx/blender/lnx/logicnode/animation/LN_set_bone_transform.py @@ -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') \ No newline at end of file