armory/blender/arm/logicnode/physics/LN_get_contacts.py
2020-09-09 20:48:35 +02:00

12 lines
387 B
Python

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