Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9

This commit is contained in:
2026-09-04 10:46:13 -07:00
parent c915312901
commit 0460b9d587
482 changed files with 27797 additions and 3226 deletions

View File

@ -1,15 +1,16 @@
from lnx.logicnode.lnx_nodes import *
class SetFrictionNode (LnxLogicTreeNode):
class SetRigidBodyFrictionNode (LnxLogicTreeNode):
"""Sets the friction of the given rigid body."""
bl_idname = 'LNSetFrictionNode'
bl_idname = 'LNSetRigidBodyFrictionNode'
bl_label = 'Set RB Friction'
bl_icon = 'NONE'
lnx_section = 'props'
lnx_version = 1
def lnx_init(self, context):
self.inputs.new('LnxNodeSocketAction', 'In')
self.inputs.new('LnxNodeSocketObject', 'RB')
self.inputs.new('LnxFloatSocket', 'Friction')
self.add_input('LnxNodeSocketAction', 'In')
self.add_input('LnxNodeSocketObject', 'RB')
self.add_input('LnxFloatSocket', 'Friction', default_value=0.5)
self.add_input('LnxFloatSocket', 'Angular Friction', default_value=0.1)
self.outputs.new('LnxNodeSocketAction', 'Out')
self.add_output('LnxNodeSocketAction', 'Out')