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

Method PhysicsTryMove

src/game/server/physics_main.cpp:1006–1176  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Purpose: The basic solid body movement attempt/clip that slides along multiple planes Input : time - Amount of time to try moving for *steptrace - if not NULL, the trace results of any vertical wall hit will be stored Output : int - the clipflags if the velocity was modified (hit something solid) 1 = floor 2 = wall / st

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 10

Physics_TraceEntityFunction · 0.85
WarningFunction · 0.85
AssertFunction · 0.85
VectorCopyFunction · 0.50
VectorMAFunction · 0.50
DotProductFunction · 0.50
CrossProductFunction · 0.50
VectorScaleFunction · 0.50
InitMethod · 0.45
GetFloatMethod · 0.45

Tested by

no test coverage detected