entity origin? -
24-01-2005
Okay, I have an edict_t pointer.
edict_t *pEdict;
It can be anything, a player OR not. How can I determine the entity's origin ? I tried pEdict->GetCollideable()->GetCollisionOrigin() but that doesn't seem to be it. I know how to do it for players (although it seems to be the feet origin, watch the bbmin and bbmax), but does that mean that the new entities have no "origin" anymore ?
Accessorily, one second question: with this new engine, is the edict_t pointer still the best way to keep track of an entity ?
RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
|