armory/blender/arm/logicnode/physics/LN_remove_rb.py
knowledgenude 9a29adb176 fix
2020-11-17 13:01:08 -03:00

14 lines
469 B
Python

from arm.logicnode.arm_nodes import *
class RemovePhysicsNode (ArmLogicTreeNode):
"""Removes the rigid body from the given object."""
bl_idname = 'LNRemovePhysicsNode'
bl_label = 'Remove RB'
arm_version = 1
def init(self, context):
super(RemovePhysicsNode, self).init(context)
self.inputs.new('ArmNodeSocketAction', 'In')
self.inputs.new('ArmNodeSocketObject', 'RB')
self.outputs.new('ArmNodeSocketAction', 'Out')