a B ------- C \ | \ | \ | c \ | b \ | \ | \| A
Alright, this is a triangle I have, and these are the things that are known: the coordinates of A and B, the lengths of a and c, as well as the fact that the angle under C is always a right angle. I need to find the coordinates of C.
If you choose to answer this, please be detailed in your explanation of the answer. Thank you.
Edit: I am using this in video game programming. The two objects are parts of a sentry gun. C is at the base of the barrel of the gun, and at a fixed distance (a) from B. B is the gimbal for the gun, and its position does not change. A represents an enemy, whose position does change, and the position of C needs to change on the gimbal (B) to continue pointing at the enemy.
I hope that made my intentions a bit clearer.
So far, all three answers are outside my scope of understanding. My knowledge is really lacking, perhaps too much for me to be able to tackle this problem. I would still like to try, however.
It would help me a lot to see this problem solved using real coordinates. Thank you for your answers so far.