> If I've good understood the "//set size and look into world" commentary,
UTIL_SetOrigin
> set the size of the model to the entity.
>
> I'll explain my thought :)
> To set the size of an entity, there's two different solutions :
>
>     - point-based entity : UTIL_SetOrigin(...), UTIL_SetSize(pev,
Vector(...), Vector(...))
>
>     - solid based entity : UTIL_SetOrigin(...), the size is automacally
set to the model's one
> (I don't know if it uses the hitboxes or the polys to calculate the size).

I think you need to do UTIL_SetSize() before UTIL_SetOrigin().  Every place
that I've looked at in the SDK where they have UTIL_SetSize() and
UTIL_SetOrigin(), UTIL_SetSize() always appears first.

Jeffrey "botman" Broome

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to