FreshRSS

Normální zobrazení

Jsou dostupné nové články, klikněte pro obnovení stránky.
PředevčíremHlavní kanál

Predictive Aim to shoot a moving target with a constant velocity while the projectile is affected by gravity (2D/Platformer view)

I've been working on creating stationary gun turrets that can shoot down missiles in my game. The bullets are affected by gravity while the missile moves in a linear path at a constant rate as if it had no acceleration or gravity. A turret shooting bullets in a parabolic curve at a missile moving in a straight path

Here is the math for the prediction My math is most likely wrong because it doesnt work even after I've tweaked and changed a few things.

Could someone please explain the derivation of the correct formula?

❌
❌