Press space and a ball will spawn at the mouse location
It doesn't quite work here are the issues... Sometimes the gravity pushes the wrong way Collisions are shaky Heres what is going on The orange ball is the gravity well and it will go to the center of mass of the blue balls that you spawn, then the blue balls are pulled into the orange one slightly to mimic gravity.