UTIL_SetOrigin

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

UTIL_SetOrigin is a UTIL function that sets an entity's origin, and if a boolean parameter is true, also performs the PhysicsTouchTriggers function on an entity.

Todo: Add examples.

Synopsis

void UTIL_SetOrigin( CBaseEntity *entity, const Vector &vecOrigin, bool bFireTriggers )