pXent_removeshape ( entity, var shape_number );

This function removes a previously added shape from an actor.

Parameters:

entity registered Entity pointer (Actor)
shape_number the shape number (starts with 0)

Returns:

Nonzero if successful, 0 otherwise.

Speed:

Fast

Example:

See pXent_addshape.
pXent_removeshape( my, 1); //removes the added box

See also:

pXent_settype, pXent_addshape