Hello everyone,
does anyone know how can I detect the direction of a mouse input? Basically, when the player clicks the right mouse button and drags the mouse (whilst holding the mouse button), how can I tell the direction he is inputting? E.g. up-down, down-up, left-right, northeast-southwest, etc.
Thank you very much for your time and for your help.