Hello everyone,
I was wondering if there was a tutorial to do an effect like a bomb that destroys parts of the surrounding area such as platform or other objects, look at the attached photo, thanks.
Hello everyone,
I was wondering if there was a tutorial to do an effect like a bomb that destroys parts of the surrounding area such as platform or other objects, look at the attached photo, thanks.
here
It looks like they are just placing a solid grey circle (or half-circle) at the area of explosion.
the picture is done by me as an example, but I want it so that if a player walks over the removed area falls in it not just to be a visual effect
Hi,
A couple of methods come to mind - though there are probably better methods.
What seems simplest to me would be to keep the images and the body (the surface the character walks along) separate; then you can adjust the image by simply overlaying a semicircle that matches the background (that’s only really easy if you have a plain/simple background), and use a chain array (or series of chain arrays) as the physics body which goes along the surface of the ground. Then you can adjust the chain array (replace it with a new one) that allows for the crater.
The other option, which seems less effective and probably more mathematical, would be to create the ground out of a series of narrow rectangles. Then when the explosion goes off, you would replace the rectangles with angled polygons (essentially trapezoids) to approximate the shape of the crater. This would give more of a “polygonal” crater, depending on the width of your ground slices.
There are also a number of other factors to consider; will the bombs go off anywhere, or always in the same locations? Can the bombs go off where there’s already a crater, and create an even deeper crater? Will the bombs be able to go all the way through the ground (like tunnelling through a platform)? etc.
Cheers,
Simon
Dixon Court Entertainment
Check out this Corona geek! Watch the whole thing! They talk about your question!
https://www.youtube.com/watch?v=4gYM9T_2zdE
–SonicX278
here
It looks like they are just placing a solid grey circle (or half-circle) at the area of explosion.
the picture is done by me as an example, but I want it so that if a player walks over the removed area falls in it not just to be a visual effect
Hi,
A couple of methods come to mind - though there are probably better methods.
What seems simplest to me would be to keep the images and the body (the surface the character walks along) separate; then you can adjust the image by simply overlaying a semicircle that matches the background (that’s only really easy if you have a plain/simple background), and use a chain array (or series of chain arrays) as the physics body which goes along the surface of the ground. Then you can adjust the chain array (replace it with a new one) that allows for the crater.
The other option, which seems less effective and probably more mathematical, would be to create the ground out of a series of narrow rectangles. Then when the explosion goes off, you would replace the rectangles with angled polygons (essentially trapezoids) to approximate the shape of the crater. This would give more of a “polygonal” crater, depending on the width of your ground slices.
There are also a number of other factors to consider; will the bombs go off anywhere, or always in the same locations? Can the bombs go off where there’s already a crater, and create an even deeper crater? Will the bombs be able to go all the way through the ground (like tunnelling through a platform)? etc.
Cheers,
Simon
Dixon Court Entertainment
Check out this Corona geek! Watch the whole thing! They talk about your question!
https://www.youtube.com/watch?v=4gYM9T_2zdE
–SonicX278