delete-wrong-pick-rigid-body
This commit is contained in:
parent
1436f9a5a4
commit
9f9aa2cb81
|
@ -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')
|
|
Loading…
Reference in a new issue