forked from LeenkxTeam/LNXSDK
Repe [T3DU] Update - 31f26d171bba0355ce2a77031e3aad4c64dbc7e9
This commit is contained in:
14
leenkx/blender/lnx/logicnode/physics/LN_set_rb_gravity.py
Normal file
14
leenkx/blender/lnx/logicnode/physics/LN_set_rb_gravity.py
Normal file
@ -0,0 +1,14 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class SetRigidBodyGravityNode(LnxLogicTreeNode):
|
||||
"""Sets the gravity for the given rigid body."""
|
||||
bl_idname = 'LNSetRigidBodyGravityNode'
|
||||
bl_label = 'Set RB Gravity'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketAction', 'In')
|
||||
self.add_input('LnxNodeSocketObject', 'RB')
|
||||
self.add_input('LnxVectorSocket', 'Gravity')
|
||||
|
||||
self.add_output('LnxNodeSocketAction', 'Out')
|
||||
Reference in New Issue
Block a user