Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

View File

@ -0,0 +1,17 @@
from lnx.logicnode.lnx_nodes import *
class SetVelocityNode(LnxLogicTreeNode):
"""Sets the velocity of the given rigid body."""
bl_idname = 'LNSetVelocityNode'
bl_label = 'Set RB Velocity'
lnx_version = 1
def lnx_init(self, context):
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxNodeSocketObject', 'RB')
self.add_input('LnxVectorSocket', 'Linear')
self.add_input('LnxVectorSocket', 'Linear Factor', default_value=[1.0, 1.0, 1.0])
self.add_input('LnxVectorSocket', 'Angular')
self.add_input('LnxVectorSocket', 'Angular Factor', default_value=[1.0, 1.0, 1.0])
self.add_output('LnxNodeSocketAction', 'Out')