forked from LeenkxTeam/LNXSDK
13 lines
474 B
Python
13 lines
474 B
Python
from lnx.logicnode.lnx_nodes import *
|
|
|
|
class GetRootMotionNode(LnxLogicTreeNode):
|
|
"""Gets root motion of an armature object"""
|
|
bl_idname = 'LNGetRootMotionNode'
|
|
bl_label = 'Get Root Motion'
|
|
lnx_version = 1
|
|
|
|
def lnx_init(self, context):
|
|
self.add_input('LnxNodeSocketObject', 'Object')
|
|
self.add_output('LnxStringSocket', 'Bone')
|
|
self.add_output('LnxVectorSocket', 'Velocity')
|
|
self.add_output('LnxRotationSocket', 'Rotation') |