remove

fun remove(body: RigidBody)(source)

Removes body and every joint, attachment and grab that holds it, so that the body that takes its slot, which may be handed out again, inherits none. What rested on it wakes and falls. Removing a body that is gone does nothing.