Function Physics2DServerSingleton.freeRid

Destroys any of the objects created by Physics2DServer. If the RID passed is not one of the objects that can be created by Physics2DServer, an error will be sent to the console.

void freeRid (
  const(RID) rid
) nothrow @nogc;