c_setminmax (ENTITY* ent)

Sets the collision ellipsiod and bounding box coordinates of the entity to it's real proportions, and sets both the entities' FAT and NARROW flags.

Parameters:

ent - entity pointer.

Modifies:

min_xyz, max_xyz, FAT / NARROW

Remarks:

Speed:

Fast

Example:

wait(1);	// wait 1 frame after creation
c_setminmax(me); 

See also:

min_x, max_x, c_updatehull, FAT, NARROW, collision

► latest version online