Eagle-One-Development / sbox-speed-dial

Speed Dial Gamemode for s&box
MIT License
3 stars 1 forks source link

iterate on gun throwing collision #24

Closed DoctorGurke closed 2 years ago

DoctorGurke commented 2 years ago

I can kill someone if they're standing behind me, right up to me, and throw the gun away from them. Probably because the gun just spawns right where they're standing and spins, although sv_phys doesn't seem to actually touch them... bbox is probably just big enough for it to get hit

DoctorGurke commented 2 years ago

maybe do custom physics on it so it can be predicted as well?

Geeknerd1337 commented 2 years ago

I think its definitely worth having custom physics for this, only issue is you'll still need to at some point enable the physics body for the gun so it can fall to the ground and collide with geometry.

DoctorGurke commented 2 years ago

glad to say this doesn't happen anymore after the rewrite. We can investigate custom physics later but for now it works pretty well in testing so closing this for now