Welp, here we go. I am trying to make a code challenge where you code a character go and take something and I need help with the line of sight part so when the character’s line of sight hits an object, if distorts accurately.
Kinda like this…
Here is the test project(it has as joystick so it is easy to test angles and stuff)
(@Hopscotcher helped me with the joystick and turns)
It is supposed to be a top down strategy style game (kinda like LoZ(legend of Zelda)