PhysicsRadialExplosionEvent

Represents a physics radial explosion event

Hierarchy

  • PhysicsRadialExplosionEvent

Index

Constructors

constructor

Find examples in Playground

Methods

dispose

Find examples in Playground
  • dispose(force?: boolean): void
  • Disposes the sphere.

    Parameters

    • Optional force: boolean

      Specifies if the sphere should be disposed by force

    Returns void

getData

Find examples in Playground

getImpostorHitData

Find examples in Playground
  • Returns the force and contact point of the impostor or false, if the impostor is not affected by the force/impulse.

    Parameters

    Returns Nullable<PhysicsHitData>

    A physics force and contact point, or null

triggerAffectedImpostorsCallback

Find examples in Playground
  • Triggers affecterd impostors callbacks

    Parameters

    Returns void

Generated using TypeDoc