GDC Vault is part of the Informa Tech Division of Informa PLC
This is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.
|Session Name:||Math for Game Programmers: Predictable Projectiles|
|Company Name(s):||Robot Entertainment|
|Track / Format:||Programming|
|Overview:||In many games, AI actors must lead the player with a projectile; firing directly at the player won't do. This practical talk explains the math and code behind predictive linear and ballistic projectile aiming, how to handle practical variations (avoiding ceilings, too-close and too-far, no-solution cases, missing convincingly, etc.), and best practices for exposing knobs to designers. All techniques will be illustrated by experiences implementing projectiles in the 'Orcs Must Die!' series.|