delete-wrong-pick-rigid-body

This commit is contained in:
Henrique 2020-10-05 14:57:27 -03:00
parent 1436f9a5a4
commit 9f9aa2cb81

View file

@ -1,16 +0,0 @@
from arm.logicnode.arm_nodes import *
class PickObjectNode(ArmLogicTreeNode):
"""Use to pick the rigid body in a location using the screen
coordinates (only x/y values are used)."""
bl_idname = 'LNPickObjectNode'
bl_label = 'Pick Rigid Body'
arm_version = 1
def init(self, context):
super(PickObjectNode, self).init(context)
self.add_input('NodeSocketVector', 'Screen Coords')
self.add_output('ArmNodeSocketObject', 'Rigid Body')
self.add_output('NodeSocketVector', 'Hit')
add_node(PickObjectNode, category=PKG_AS_CATEGORY, section='ray')