Explosion is a particle class, used in creating the visual effect of explosion on Roblox. This can be used as a purely graphical effect, or can be made to damage objects.
Properties
BlastPressure: float
Determines the pressure of the explosion blast, or how strongly unanchored BaseParts will be pushed away from the Explosion's Position.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
BlastRadius: float
Determines the blast radius, or distance around the Position where unanchored BaseParts, Terrain, and other geometry are impacted.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
DestroyJointRadiusPercent: float
This property is a float between 0 and 1 that determines the multiplier that is applied to BlastRadius to determine the radius in which joints are broken.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
ExplosionType: ExplosionType
Determines whether or not an Explosion will impact Terrain voxels that are within the BlastRadius of the Explosion.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
Position: Vector3
Determines the origin, or position, of the explosion. When not set, defaults to Vector3.new(0, 0, 0)
, even if the Explosion is parented to a BasePart.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
TimeScale: float
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
Visible: bool
Whether or not an Explosion is visible.
- Category: Data.
- Serialization: can save and load.
- Thread safety: read safe
Events
Gallery[]
External links[]
- Explosion in the Roblox Creator Documentation
- Explosion in the Roblox API Reference