armory/blender/arm/logicnode/physics/LN_get_contacts.py
2020-09-08 23:21:41 +02:00

14 lines
411 B
Python

from arm.logicnode.arm_nodes import *
class GetContactsNode(ArmLogicTreeNode):
"""Get contacts node"""
bl_idname = 'LNGetContactsNode'
bl_label = 'Get Contacts'
bl_icon = 'NONE'
def init(self, context):
self.add_input('ArmNodeSocketObject', 'Object')
self.add_output('ArmNodeSocketArray', 'Array')
add_node(GetContactsNode, category=MODULE_AS_CATEGORY, section='contact')