Create new node to get if bones are FK IK
This commit is contained in:
parent
5ed5b8d6a7
commit
646d3a74cf
14
blender/arm/logicnode/animation/LN_get_bone_fk_ik_only.py
Normal file
14
blender/arm/logicnode/animation/LN_get_bone_fk_ik_only.py
Normal file
|
@ -0,0 +1,14 @@
|
|||
from arm.logicnode.arm_nodes import *
|
||||
|
||||
class GetBoneFkIkOnlyNode(ArmLogicTreeNode):
|
||||
"""Get if a particular bone is animated by Forward kinematics or Inverse kinematics only."""
|
||||
bl_idname = 'LNGetBoneFkIkOnlyNode'
|
||||
bl_label = 'Get Bone FK IK Only'
|
||||
arm_version = 1
|
||||
arm_section = 'armature'
|
||||
|
||||
def init(self, context):
|
||||
super(GetBoneFkIkOnlyNode, self).init(context)
|
||||
self.add_input('ArmNodeSocketObject', 'Object')
|
||||
self.add_input('NodeSocketString', 'Bone')
|
||||
self.add_output('NodeSocketBool', 'FK or IK only')
|
Loading…
Reference in a new issue