armory/blender/arm/logicnode/physics/LN_get_first_contact.py
2020-09-09 00:28:41 +02:00

13 lines
414 B
Python

from arm.logicnode.arm_nodes import *
class GetFirstContactNode(ArmLogicTreeNode):
"""Get first contact node"""
bl_idname = 'LNGetFirstContactNode'
bl_label = 'Get First Contact'
def init(self, context):
self.add_input('ArmNodeSocketObject', 'Object')
self.add_output('ArmNodeSocketObject', 'Object')
add_node(GetFirstContactNode, category=MODULE_AS_CATEGORY, section='contact')