Good morning
Can you put me more examples about explosions and effect dominated?
I don't know much about Box2D and would like me to see some examples for learning.
Thank you
A basic explosion would apply an impulse to all dynamic objects around it. The impulse direction is away from the explosion point, and the magnitude will be smaller further away from the explosion point - usually decreasing inversely proportional to the square of the distance (1/d^2). Unless you have a large number of bodies in the world, you can probably just loop through them all and check how far they are from the explosion point.
Search the forums for some more detailed discussions on this.
Can you put to me an example for I to see how is the example of explosions.
Can several types of explosions be done?
Thank you
The examples are good enough for us.