armory/blender/arm/logicnode/deprecated/LN_surface_coords.py
2021-07-20 20:53:37 +02:00

18 lines
668 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 arm_init(self, context):
self.add_output('ArmVectorSocket', 'Coords')
self.add_output('ArmVectorSocket', 'Movement')