project-navigation
Personal tools

Author Topic: Patch to fix broken grenade prediction  (Read 5906 times)

tomshackell

  • Guest
Patch to fix broken grenade prediction
« on: September 27, 2006, 03:13:38 am »
I noticed the grenade prediction code was a bit buggy (in particular it really didn't work if you tried to fire at something that was below you) so I rewrote it.

The code's pretty simple but the maths is rather involved so I've included a very long comment describing how it all works, should anyone need to understand it.

The patch is to the SVN revision most current at the time of writing (revision 3845) and is available at:
 http://www-users.cs.york.ac.uk/~shackell/files/fix-grenade-trajectories.patch

thanks

Tom  :)

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Patch to fix broken grenade prediction
« Reply #1 on: September 27, 2006, 08:11:48 am »
i applied your patch to trunk now - thank you