forked from LeenkxTeam/LNXSDK
Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9
This commit is contained in:
22
leenkx/blender/lnx/logicnode/physics/LN_get_sb_data.py
Normal file
22
leenkx/blender/lnx/logicnode/physics/LN_get_sb_data.py
Normal file
@ -0,0 +1,22 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetSoftBodyDataNode(LnxLogicTreeNode):
|
||||
bl_idname = 'LNGetSoftBodyDataNode'
|
||||
bl_label = 'Get SB Data'
|
||||
lnx_section = 'softbody'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketObject', 'SB')
|
||||
|
||||
self.add_output('LnxBoolSocket', 'Has SB')
|
||||
self.add_output('LnxFloatSocket', 'Mass')
|
||||
self.add_output('LnxFloatSocket', 'Bend')
|
||||
self.add_output('LnxIntSocket', 'Shape')
|
||||
self.add_output('LnxFloatSocket', 'Margin')
|
||||
self.add_output('LnxVectorSocket', 'World Center')
|
||||
self.add_output('LnxFloatSocket', 'Friction')
|
||||
self.add_output('LnxFloatSocket', 'Damping')
|
||||
self.add_output('LnxFloatSocket', 'Pressure')
|
||||
self.add_output('LnxFloatSocket', 'Linear Stiffness')
|
||||
self.add_output('LnxFloatSocket', 'Angular Stiffness')
|
||||
Reference in New Issue
Block a user