armory/blender/arm/logicnode/deprecated/LN_surface_coords.py

17 lines
632 B
Python
Raw Normal View History

2017-04-03 22:29:46 +02:00
from arm.logicnode.arm_nodes import *
2020-10-28 20:29:01 +01:00
@deprecated('Get Touch Movement', 'Get Touch Location')
class SurfaceCoordsNode(ArmLogicTreeNode):
2020-09-23 22:12:25 +02:00
"""Deprecated. Is recommended to use 'Get Touch Location' and 'Get Touch Movement' node instead."""
2017-04-10 21:17:17 +02:00
bl_idname = 'LNSurfaceCoordsNode'
bl_label = 'Surface Coords'
2020-09-29 18:38:17 +02:00
bl_description = "Please use the \"Get Touch Movement\" and \"Get Touch Location\" nodes instead"
2020-10-28 20:29:01 +01:00
arm_category = 'Input'
2020-10-27 19:44:37 +01:00
arm_section = 'surface'
2020-09-29 18:38:17 +02:00
arm_version = 2
2021-07-20 20:53:22 +02:00
def arm_init(self, context):
self.add_output('ArmVectorSocket', 'Coords')
self.add_output('ArmVectorSocket', 'Movement')