UTIL_CheckBottom

From Valve Developer Community
Jump to: navigation, search
English (en)
... Icon-Important.png

UTIL_CheckBottom is a UTIL function that determines if an entity is on the bottom. UTIL_CheckBottom returns false if any part of the bottom of the entity is off an edge that is not a staircase; otherwise the function returns true.

Blank image.pngTodo: Add examples.

Function Declaration

// Returns false if any part of the bottom of the entity is off an edge that
// is not a staircase.
bool UTIL_CheckBottom( CBaseEntity *pEntity, ITraceFilter *pTraceFilter, float flStepSize );