• Register

Extroforge takes players to a strange and mysterious alien world, where they must work with their teammates to make a new home for the human race. The alien world is both beautiful and ruthless. There are sweltering jungles to the south, and a frozen ice land in the north. Using only minimal technology, players assemble their command post, begin securing resources, and then use those resources to establish a home base. Utilizing a modular structure building mechanic, players use various building materials to construct whatever they can imagine. Towers, walls, buildings, bridges, and more. The core of this game is a first person shooter that innovates in a number of different ways. This game is also a realtime strategy game, massive online battle arena, and a sandbox construction game.

Post feature Report RSS Auto Turrets - Leading your Target

This is a technical article from the mind of our Lead Developer, Jeff A. It briefly discusses the technology of how our Auto Turrets will lead targets.

Posted by on

Hello, it's Jonathan, Lead Writer for ExtroForge, here to bring you a short technical article from the mind of our Lead Developer Jeff, on Auto Turrets and how our turrets will lead their targets.

"Hitting a moving target with a high-velocity, non-accelerating projectile is fairly trivial. Aim at where it is now - and the speed of the projectile negates any target movement.

Hitting a stationary target from a long distance with an accelerating (gravity) projectile is very do-able and somewhat commonly done using a little trig and vector math.

Applying generic 'lead' logic to hit a moving target with a projectile is also oft-done - but most implementations simply use the time-of-flight to the 'current' target location as the basis for the offset. However - this produces HORRID results when the target is moving even at a moderate speed and/or the time of flight between where the target 'was' and 'will be' is even minimally different.

The Extroforge implementation uses a recursive binary search technique to find closest approximation to when the aim point and time-of-flight of the projectile coincide with the target moving the same amount of time towards that same point. We've limited the iterations to 10 (bailing out with the closest value calculated at the moment)...

The results are spectacular."

Medium-speed air-born targets (15 m/s speed - or 33 MPH) tracked by the turret - from long (in some cases extremely long) distances, near 100% accuracy.

Slow moving ground targets...super deadly.

Want more info on ExtroForge? Check out our website at: Extroforge.com or follow us on facebook and twitter!

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: