Physics Explosion?


#1

How do I simulate an explosion using physics? I want the objects that the bullet collide with, to move away from the point of collision.

Any suggestions?


#2

Physics movements are handled automatically. If you send a physics object to another physics object, it will push that object according to the density of each object.
If for some reason, that doesn’t work for you, try to store the angle of the bullet and apply that to the objects with some random.


#3

I found a method. I just add a circular sprite after the collision that tests for all blocks that it collides with and adds a circular momentum to those blocks and then deletes the circular sprite. Ty