This is a compact, lightweight tool that takes in a list of points and converts them into a simplified direction/length based pattern. Allows you to run code based on player drawings.Directional Pattern Recognition converts a sequence of Vector3 points into a simplified pattern made of directional line segments. These patterns can then be matched against predefined patterns, allowing you to trigger gameplay events when a player draws the intended symbol.The system is designed to interpret the likely intent of a drawing, tolerating variation in angle, length, and minor directional inconsistencies.This makes it suitable for gesture systems where players draw shapes using a mouse, touchscreen, controller, or any input that produces point data.This package includes an example game showcasing the tool. If you wish to test the tool yourself before getting this package, the game has been made publicly available here: https://connor-hasson.itch.io/runic-defenceConverts lists of Vector3 points into simplified directional line patternsPattern recognition system with configurable tolerance for angle and lengthIncludes optional fuzzy logic, allowing for increased generosity in recognitionDesigned to interpret likely intended shapes rather than exact input pathsPattern presets stored as ScriptableObjects for easy editor configurationSupports runtime pattern generation and matchingWorks with any input system that produces positional point data (mouse, touch, controllers, etc.)Supports both 2D and 3D input (3D patterns included as experimental)Example scene included for drawing and testing patternsPlayable showcase game demonstrating the system as a core mechanicConfirmed compatible with Unity 2022 LTS and newer




