armory/blender/arm/logicnode/deprecated/LN_surface_coords.py
Moritz Brückner 96aa0ee890 Use custom sockets for default data types
This allows to listen for socket updates for the live patch system
2021-07-10 21:46:44 +02:00

19 lines
717 B
Python

from arm.logicnode.arm_nodes import *
@deprecated('Get Touch Movement', 'Get Touch Location')
class SurfaceCoordsNode(ArmLogicTreeNode):
"""Deprecated. Is recommended to use 'Get Touch Location' and 'Get Touch Movement' node instead."""
bl_idname = 'LNSurfaceCoordsNode'
bl_label = 'Surface Coords'
bl_description = "Please use the \"Get Touch Movement\" and \"Get Touch Location\" nodes instead"
arm_category = 'Input'
arm_section = 'surface'
arm_is_obsolete = 'is_obsolete'
arm_version = 2
def init(self, context):
super(SurfaceCoordsNode, self).init(context)
self.add_output('ArmVectorSocket', 'Coords')
self.add_output('ArmVectorSocket', 'Movement')