Hello. I’m trying to make the arrow turned in the direction of the click. Like this:
Start Arrow Position
Click result
OnMouseButtonDown
Tried to do like this:
Hello. I’m trying to make the arrow turned in the direction of the click. Like this:
Start Arrow Position
Click result
OnMouseButtonDown
Tried to do like this:
You have two vector2d, to get the angle between them you just use math: Maths - angle between vectors - Martin Baker