Update Files
This commit is contained in:
15
leenkx/blender/lnx/logicnode/physics/LN_get_rb_velocity.py
Normal file
15
leenkx/blender/lnx/logicnode/physics/LN_get_rb_velocity.py
Normal file
@ -0,0 +1,15 @@
|
||||
from lnx.logicnode.lnx_nodes import *
|
||||
|
||||
class GetVelocityNode(LnxLogicTreeNode):
|
||||
"""Returns the world velocity of the given rigid body."""
|
||||
bl_idname = 'LNGetVelocityNode'
|
||||
bl_label = 'Get RB Velocity'
|
||||
lnx_version = 1
|
||||
|
||||
def lnx_init(self, context):
|
||||
self.add_input('LnxNodeSocketObject', 'RB')
|
||||
self.add_input('LnxBoolSocket', 'Linear On Local Axis')
|
||||
self.add_input('LnxBoolSocket', 'Angular On Local Axis')
|
||||
|
||||
self.add_output('LnxVectorSocket', 'Linear')
|
||||
self.add_output('LnxVectorSocket', 'Angular')
|
Reference in New Issue
Block a user