I tried to make proper collusion hull (via two side traces), so player's edges don't fall on level corners. Anyway this is very tricky and I hope some one will be able to improve it, but it's ok for basic movement. BTW I reduced "my.min_z" of BBOX, so it help too. You can use this in anyway.