How to make a bomb?
How to make sure that when you press the “b” key, all objects endowed with physics fly away in different directions?
How to make a bomb?
How to make sure that when you press the “b” key, all objects endowed with physics fly away in different directions?
You have to check that the the object have physics and then applied a negative force toward an object (the bomb) you can also check if the objects are a certain distance.
use Explosion extension and follow its rules