physX_destroy ( )

This function closes the PhysX engine. It is automatically called through the on_exit event when physX_open was called before. Otherwise make sure to call physX_destroy at the end of the program, or when you don't need the physics engine anymore.

Remarks:

Speed:

Fast

Example:

 on_exit = physX_destroy;

See also:

physX_run , physX_open, physX_load