Open Greenhourglass opened 5 years ago
https://github.com/Nak2/StormFox/blob/master/lua/stormfox/functions/sv_propeffects.lua#L126 , multiply is commented! https://github.com/Nak2/StormFox/blob/master/lua/stormfox/functions/sv_propeffects.lua#L124 - there GetMass() !
It appears that in sv_propeffects.lua, the wind's force is multiplied by the object's mass. I don't think this is a good idea, as it means that large and heavy objects that should logically be more resistant are pushed by wind just as much as small, light objects that should logically fly off the ground in high winds. Makes the wind effect less interesting and realistic when every unfrozen prop is just gliding in the same direction at the same exact speed.
Considering GetSurfaceArea() is already taken into account, there's no reason to be using GetMass().