UTIL_CheckBottom

From Valve Developer Community
Revision as of 14:21, 2 November 2021 by Amicdict (talk | contribs) (Created page with "{{lang|UTIL CheckBottom|title=<code>UTIL_CheckBottom</code>}}{{ent|UTIL_CheckBottom}} is a UTIL function that determines if an entity is on the bottom. {{ent|UTIL_CheckBot...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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 );