Rotate 2D pivot so that gun points at target.
Hello there, I'm struggling to understand how much should I rotate my point R, so that the line passing through H and L, passes through point P also.
Here is an awesomely drawn picture illustrating the problem, Consider the line passing through P and R as perpendicular with the one passing through H and R.
turrets.png
(9.4 kB)
Comment
Your answer
Follow this Question
Related Questions
Character Shooting Mechanic 2D Issues 0 Answers
Getting a pivoted look at in 2D 2 Answers
Isometric racing game engine proto 1 Answer
Sprite gets rotated when Joystick Y at 1 or -1? 0 Answers
World Rotation Around The Player Lead me to a Strange Result! 0 Answers