• SetCollisionBounds resets itself
    0 replies, posted
When I resize a player with both SetHull and SetModelScale, I find that GetCollisionBounds returns GetHull (or GetHullDuck if applicable) multiplied by the scale I passed to SetModelScale. This gives the player a "wonky zone" around them where player-player physics interactions are odd. What is the best workaround for this? Is there a hook where I can reset CollisionBounds? I mean, this is a bit of a known bug, I think. [URL]https://github.com/Facepunch/garrysmod-issues/issues/2193[/URL] but is there a workaround known? I noticed someone (the dev of PAC3) mentioned a different way to scale players, but it uses EnableMatrix which does not scale hitboxes.
Sorry, you need to Log In to post a reply to this thread.