When spawning objects it sometimes causes a ConcurrentModificationException.
This happens because the insertion through spawning with the mouse is not synced with the fhysics update cycle
Fix
add a list of objects which should be added in the next update loop
When spawning objects it sometimes causes a ConcurrentModificationException. This happens because the insertion through spawning with the mouse is not synced with the fhysics update cycle
Fix
add a list of objects which should be added in the next update loop