Roblox Wiki
Register
Advertisement
Roblox Wiki

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 light iconTerrain dark iconTerrain, 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 light iconTerrain dark iconTerrain 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

This class member is missing documentation. Create or add to its subpage at Class:Explosion/TimeScale.
  • 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

Hit(part: BasePart, distance: float)

Parameters
NameType
partBasePart
distancefloat

Fired when a BasePart is hit by the blast of an Explosion.

  • Thread safety: unsafe

Gallery[]

External links[]

References[]

Advertisement