forked from LeenkxTeam/LNXSDK
Repe [T3DU] and Moises Jpelaez updates
This commit is contained in:
15
leenkx/blender/lnx/logicnode/transform/LN_replace_object.py
Normal file
15
leenkx/blender/lnx/logicnode/transform/LN_replace_object.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class ReplaceObjectNode(LnxLogicTreeNode):
|
||||
"""Replace location and rotation between two objects"""
|
||||
bl_idname = 'LNReplaceObjectNode'
|
||||
bl_label = 'Replace Object'
|
||||
lnx_version = 2
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketObject', 'Base')
|
||||
self.add_input('LnxNodeSocketObject', 'Replace')
|
||||
self.add_input('LnxBoolSocket', 'Invert')
|
||||
self.add_input('LnxBoolSocket', 'Scale')
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
||||
Reference in New Issue
Block a user