So I am making a breakfloor map and every block in it is 32x32 hammer units but the player is 33 units... How would I change the players collision size?
I have already tried these things but they do not work.
[code]
ply:SetHull( 32, 30 )
ply:SetHullDuck( 32, 72 )
ply:SetModelScale( 0.8, 0 )
[/code]
EDIT: Noticed that it said vector and also another part of my code was terribly wrong. This code worked.
[code]
ply:SetHull( Vector(-15, -15, 0), Vector(15, 15, 72) )
ply:SetHullDuck( Vector(-15, -15, 0), Vector(15, 15, 37) )
[/code]
Not sure if it works on players
[url]http://wiki.garrysmod.com/page/Entity/SetCollisionBounds[/url]
Players are 32x32x72 by default.
[QUOTE=Robotboy655;51245891]Players are 32x32x72 by default.[/QUOTE]
No, they are 33x33x73.
[IMG]https://developer.valvesoftware.com/w/images/thumb/4/4f/Units03.jpg/180px-Units03.jpg[/IMG]
[IMG]https://developer.valvesoftware.com/w/images/thumb/a/ad/Units02.jpg/180px-Units02.jpg[/IMG]
Yeah right, you tell me.
Those are minimum sizes to make a player can fit in.
[QUOTE=Robotboy655;51245931]Yeah right, you tell me.
Those are minimum sizes to make a player can fit in.[/QUOTE]
Ooohhh, that explains alot... :P
Sorry, you need to Log In to post a reply to this thread.