Turret Targeting

Blitz3D Forums/Blitz3D Programming/Turret Targeting

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Think of a fast moving obect. Now you calculate the time the bullet will take to get to the target and use a vector to calculate the target's position after that length of time (and therefore predict where to aim).

Problem.....

Well the distance the bullet will have to travel to get the targets predicted position is now different....

therefore it will take more/less time to get there.....

therefore you need to predict a new vector for the target's position after the new length of time.....

oh nuts........

Keep trying......You're nearly there......