ldesgoui / tf2-comp-fixes

Various TF2 tweaks catered towards competitive play
GNU General Public License v3.0
46 stars 7 forks source link

Projectiles use AABB for collision #69

Closed ldesgoui closed 2 years ago

ldesgoui commented 2 years ago

Probably can easily add a cylinder collider by overriding Collide or whatever

ldesgoui commented 2 years ago

*Touch, which is a virtual method, so basically vhook that on entity creation and check if the 2D distance (ignoring Y) is over radius, where radius is either static or computed from the AABB of self and other