Facepunch / sandbox

Garry's Mod for s&box
MIT License
406 stars 124 forks source link

Gravity Gun allows player to go through unbroken glass #49

Open Ferdam opened 2 years ago

Ferdam commented 2 years ago

Describe the bug

Gravity Gun alt-fire allows player to move through glass, ignoring collision

Note: I know you guys already mentioned not worrying too much about this gamemode, but since I couldn't figure out if this is gamemode related or something else (glass entity maybe?), I'll leave it here case it helps at some point. Hopefully it isn't big deal

To Reproduce

  1. Go to multiplayer sandbox gamemode, map construct
  2. Switch to gravity gun
  3. Place any physics object behind an intact breakable glass
  4. Aim at the object and start pulling it with alt-fire button
  5. While doing step above, attempt to move towards glass
  6. Results in glass not being solid for player until alt-fire button is released or player stops aiming at the object behind glass

Media/Files

n/a

Additional context

No response

aylaylay commented 2 years ago

Thanks, I've pushed a fix, will upload the update later