- #1
nilum
- 6
- 0
I am trying to write an addon for a videogame which will give the best orientation/heading to intercept a target. The best would mean the fastest route to a moving target.
There is no acceleration in the game.
I can get the speed/velocity of the target and player, as well as their coordinates and orientation/heading in three dimensions.
For the most part I will only need to use the XY plane, but there are some instances where being able to figure in pitch would be handy.
--
The problem is I am not very adept with math or physics.
I've tried to find a formula, but haven't had much luck.
Can anyone help me out?
There is no acceleration in the game.
I can get the speed/velocity of the target and player, as well as their coordinates and orientation/heading in three dimensions.
For the most part I will only need to use the XY plane, but there are some instances where being able to figure in pitch would be handy.
--
The problem is I am not very adept with math or physics.
I've tried to find a formula, but haven't had much luck.
Can anyone help me out?