UTIL_CheckBottom

From Valve Developer Community
Jump to: navigation, search
English (en)Translate (Translate)

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.

Todo: 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 );