So, I know how black holes form. I need help making them not form.
https://pastebin.com/Qa7c8GBL
So this link, not my code but a good example of what is happening. If you have a pile of this, eventually a blackhole will form. I think this is because of things being created ect. How would you be able to stop this happening?
You can only stop it by creating a mod (not a script, mod) and changing axiom of physics - particle collapse.
Or else you can check for particles at the given position before creating new one.
If you make a mod, only one part of source needs changed.
https://github.com/The-Powder-Toy/The-Powder-Toy/blob/b975dc2938a97a5c69b6a0d70d9c72f255584f9e/src/simulation/Simulation.cpp#L5165