Module: explode
This module provides functionality to create explosion effects by breaking objects into smaller pieces
and applying physics to them.
local explode = require("explode") -- Explode an object and all its shape descendants into pieces explode:shapes(someObject)
explode
Functions
Explodes all shapes in an object (including the object itself if it's a shape).
local explode = require("explode") -- Explode a single shape local shape = Shape(...) explode:shapes(shape) -- Explode an object and all its shape descendants local object = Object() -- Add some shapes as children... explode:shapes(object) -- Will explode all shapes in hierarchy
📃 Source