forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
15
leenkx/blender/lnx/logicnode/physics/LN_set_rb_friction.py
Normal file
15
leenkx/blender/lnx/logicnode/physics/LN_set_rb_friction.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SetFrictionNode (LnxLogicTreeNode):
|
||||
"""Sets the friction of the given rigid body."""
|
||||
bl_idname = 'LNSetFrictionNode'
|
||||
bl_label = 'Set RB Friction'
|
||||
bl_icon = 'NONE'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.inputs.new('LnxNodeSocketAction', 'In')
|
||||
self.inputs.new('LnxNodeSocketObject', 'RB')
|
||||
self.inputs.new('LnxFloatSocket', 'Friction')
|
||||
|
||||
self.outputs.new('LnxNodeSocketAction', 'Out')
|
Reference in New Issue
Block a user