Now, I was wondering whether people could suggest any algorithms / resources that could help me improve such prediction (for example, take into account future change in heading / bearing, past positions, uncertainty etc). I saw that some games (including robocode) use a radar style approach, whereby a target's future position is visualized as a cone moving out from the target. That is, further ahead in time that we want to predict the target's position, the more "uncertain" this prediction becomes, eventually
futureLongitude = currentLong + speed * time * sin(course) futureLatitude = currentLat + speed * time * cos(course)
arawen2007 wrote:With this as part of your design criteria, the very best thing that I can tell you is to go back and LEARN MATH or you are going to find yourself continually in the same prediciment that you are in now--not able to do what you want without the significant help of others to do what you don't understand. You cannot be a decent programmer or game developer without MATH SKILLS.
My maths are terrible...