23.06.2011, 09:33
Quote:
ok I've painted a little image which could maybe help you... it just shows some basics (no clue if that helps you at all or if I just summed up some stuff that you already know).. I can't really help you any more with this, as I can't really figure it out.. I've already wasted a few pieces of paper with some coordinate systems and drawings, however I didn't get the result yet (maybe later, I'll continue thinking).. with my image you will however just find out the angle to the player... you'll have to figure out if the player is left or right and stuff by the coords.. |