SetViewOffset

From Valve Developer Community
Jump to: navigation, search

void CBaseEntity::SetViewOffset( const Vector &vecOffset )

This function is used to set position of eyes relative to this entity. For an NPC, the default offset is determined by the eye position defined its model.