Closed jamesward1 closed 1 year ago
Destroying a body does not actually ever remove it from the World's body list. If you print the length of the body data structure, it grows endlessly but never shrinks, even after calling destroy() on bodies.
Actually, looks like I just made a mistake in not calling postUpdate(). It looks like it works correctly. My mistake.
Destroying a body does not actually ever remove it from the World's body list. If you print the length of the body data structure, it grows endlessly but never shrinks, even after calling destroy() on bodies.