**comp.graphics.algorithms**

## Subject: **How to get angle and speed to reach a movable point**

Hi all,

I'm been trying to find a solution for this but my math skills are not

very high and I haven't found anything yet. I hope you guys may give me

some ideas.

The problem is the following:

- We have a 2D scenario.

- There are two points in there, A and B. For each point we know its

position (x,y), speed (V), and the current direction (0=BA to 360=BA)

- We know the maximum speed that A can reach. (Vmax)

- B may change its direction and speed at any moment. We don't know the

maximum speed that B may reach.

Problem:

We need to know what angle and speed A should follow to reach B in the

shortest amount of time possible. The algorithm will be called every

second, since B may be changing its position and angle at any time.

Any ideas?

I really appreciate your help.

Thanks

Reply

View All Messages in

**comp.graphics.algorithms**

path:

Replies:

Re: How to get angle and speed to reach a movable point

Re: How to get angle and speed to reach a movable point

Copyright © 2006 WatermarkFactory.com. All Rights Reserved.