remove

fun remove(particle: Particle)(source)

Removes particle and every constraint that holds it, so that the particle that takes its slot, which may be handed out again, inherits none. Removing a particle that is gone does nothing. A particle of a soft body is removed with it instead, by SoftBodies.remove.