cathook icon indicating copy to clipboard operation
cathook copied to clipboard

Binary search for ProjectilePrediction()

Open acidtripparty opened this issue 4 years ago • 3 comments

Two improvements:

  • Use binary search for time prediction in ProjectilePrediction(). We get very tight mindelta with same time complexity. (Flag: debug.pp-bsearch)
  • Account for projectile gravity drop. (Flag: debug.pp-gravity)

Both changes are gated by the flags. No-op code change -- should not affect existing configs.

acidtripparty avatar Jun 08 '21 19:06 acidtripparty

Testing today.

LemonatedCat avatar Jul 03 '21 06:07 LemonatedCat

Works just fine

LemonatedCat avatar Jul 03 '21 07:07 LemonatedCat

Actually nevermind, it often just sits there and does not even try to shoot

LemonatedCat avatar Jul 03 '21 07:07 LemonatedCat