|
-
[RESOLVED] Avoiding an obstacle on your way to target.

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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|