Newbrict / ObjHunt

A Good Garry's Mod Prop Hunt
Apache License 2.0
17 stars 21 forks source link

Update player mass to better match prop's mass #12

Closed kevinoconnor7 closed 10 years ago

kevinoconnor7 commented 10 years ago

This PR adds logic to set the player's mass based on the prop that the user switches to. Since not all entities have physics models I put in calculations to determine one using the density of the filing cabinet (configurable in the settings file).