Hi, I'm trying to make my enemy shoot at player using a raycast2D's hit point and a line. Cheking the debug, the line touches my player, and the player is detected as a hit object, everything is fine except that the hit point doesn't correspond my player position... at all ! I tried in world space, and it doesn't work neither.
Any idea ? Thanks