Hi everybody…
I created a blink ability for my character and when I press the blink button, I send a raycast2D in front of the character, to take the new position to blink, like in:
The problem is because I want to create a raycast like this, but diagonally, like 45 degrees. How can I add a rotation to this raycast, instead of make it only horizontaly?
Thanks a lot. Ask me if I wasn’t clear enough.