MCPcopy Create free account
hub / github.com/ValveSoftware/source-sdk-2013 / FixPlayerCrouchStuck

Function FixPlayerCrouchStuck

src/game/server/player.cpp:4561–4597  ·  view source on GitHub ↗

This is a glorious hack to find free space when you've crouched into some solid space Our crouching collisions do not work correctly for some reason and this is easier than fixing the problem :(

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

FinishDuckMethod · 0.85
StartUnDuckJumpMethod · 0.85
RestoreMethod · 0.85

Calls 4

UTIL_TraceHullFunction · 0.85
GetAbsOriginMethod · 0.45
SetLocalOriginMethod · 0.45
SetAbsOriginMethod · 0.45

Tested by

no test coverage detected