Explosion
A blast that goes off at a set second: it pushes loose parts away, breaks welds and fractures, and shakes the camera.
Like Roblox's Explosion, it pushes the unanchored parts in BlastRadius out by BlastPressure and breaks the welds near it, so a rig with a Ragdoll goes limp. It also breaks every Fracture in reach. Visible draws a flash, a fireball and smoke, and with a Weather it leaves a scorch on the ground. Insert puts one where the camera looks, going off at the playhead. It runs in Play, renders and bakes, and Stop puts everything back.
Properties
| Name | Type | Default | Description |
|---|---|---|---|
| BlastPressure | number | scripts only | How hard it pushes the unanchored parts in BlastRadius out. |
| BlastRadius | number | scripts only | Inside it the blast pushes unanchored parts out, breaks Fractures and fires Hit for every part. |
| DestroyJointRadiusPercent | number | scripts only | The welds within BlastRadius x DestroyJointRadiusPercent break, and a rig with a Ragdoll goes limp. |
| ExplosionType | string | scripts only | NoCraters or Craters; with a Weather, Craters adds a Hole to the Scorch mark. |
| Position | Vector3 | scripts only | |
| Shake | number | scripts only | How hard it shakes the cameras near it, 0 to 10: full within BlastRadius, none from 8x it, over 0.6 s; 0 is off. |
| Time | number | scripts only | It goes off once a simulation reaches this video second; one a script makes in Play goes off at once. |
| TimeScale | number | scripts only | Slows the flash, fireball and smoke, 0 to 1. |
| Visible | boolean | scripts only | Draws a flash, a fireball and smoke. |
Events
| Name | Type | Description |
|---|---|---|
| Hit | RBXScriptSignal | Fires once for each part within BlastRadius, anchored parts included, with the part and its distance, in Play only. |
