player's head goes through wall


(mod3m) #1

it happens in stock et also. i just made a box and put a lower level and my head went straight through it. is there anyway to fix this? i tried viewheight and that didn’t seem to work. most of the team fortress maps have low ceilings and this bug is getting quite annoying when i’m testing it with people. any help would be greatly appreciated.


(mod3m) #2

ok. pm_checkjump has no clipvelocity. just add a check to see if there’ s a ceiling before the player’s velocity is added if so, clipvelocity. D: