POLYGON

If this flag is set, a model entities' real shape, taken from its first animation frame, is used for collision detection. Otherwise, an oriented bounding box or ellipsoid is used.

Type:

Flag (flags)

Remarks:

Example:

action boulder()
{
  my.POLYGON = ON; // now using the polygonal shape of the model
  set(my,POLYGON);
  ...

See also:

physics, collision, c_move, c_setminmax, c_updatehull, FAT / NARROW

► latest version online