Ask here your questions to get help using GDevelop.
User avatar
By kalel
#61574
Umar wrote:is there a physical system to destroy object and shatter them into pieces?


Not that I know. You would need to somehow link multiple pieces together, and then shatter them by adding forces in various directions. To further optimize things, it should normally be one object only, but turn into this linked object group only on impact (when it is supposed to explode).

As long as there are a small number of pieces (2-3), this effect shouldn't be too laggy.

A simpler way would be to make an animation of the explosion, and then just activate the animation on impact.
By Mats
#61578 No there isn't, you would have to implement something like this yourself. What exactly do you want to explode? There are, for example, many animations of explosions suitable for space ships being destroyed or dynamite explosions widely avilable online.