[RESOLVED] Avoiding an obstacle on your way to target.
http://img600.imageshack.us/img600/4782/90850346.jpg
My character is moving to the money, a little step every second.
Every tick - he is casting a beam towards the money, to check for collision.
He needs to steer away from possible obstacle - but, he needs to continiue on his way to money.
Best trajectory to do his is moving along to the red dot, but I just cannot wrap my head around this one - how do i calculate it's position?
It took me a really long time before I crawled here, for help. I surrender now.
Anyone? Please?