POLYGON
If this flag is set, the model entity's real shape is used for OBB
collision detection. Otherwise, an oriented bounding
box or ellipsoid is used.
Type:
Flag
Remarks:
- Though it is not enforced,
this flag should be seen as mutually exclusive to calling phent_settype with
PH_POLY.
- Only one of the objects involved
in a collision should have a polygonal hull. Do not set this flag for
moving objects or for animated models.
- By default, this flag is set for terrains and map entities, and not
set for models and sprites.
Example:
my.POLYGON = ON; // now using the polygonal shape of the model
set(my,POLYGON);
See also:
physics, collision, c_move,
FAT / NARROW
► latest
version online