pXcon_remove (ENTITY* entity);

Removes the constraint. The previously constrained objects continue to exist, however.

Parameters:

entity entity of the constraint to be configured


Returns:

1 if successful, 0 otherwise.

Speed:

Fast

Example:

pXcon_remove(wheel); // remove the wheel constraint
ptr_remove(wheel); // remove the entity

See also:

pXcon_add, pXcon_setwheel