Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents a physics radial explosion event

Hierarchy

  • PhysicsRadialExplosionEvent

Index

Constructors

Methods

  • dispose(force?: boolean): void
  • Disposes the sphere.

    Parameters

    • Optional force: boolean

      Specifies if the sphere should be disposed by force

    Returns void

  • Returns the force and contact point of the body or false, if the body is not affected by the force/impulse.

    Parameters

    • body: PhysicsBody

      A physics body where the transform node is an AbstractMesh

    • origin: Vector3

      the origin of the explosion

    • data: PhysicsHitData

      the data of the hit

    • Optional instanceIndex: number

      the instance index of the body

    Returns boolean

    if there was a hit

  • Returns the data related to the radial explosion event (sphere).

    Returns PhysicsRadialExplosionEventData

    The radial explosion event data

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

    Parameters

    Returns boolean

    A physics force and contact point, or null

  • Triggers affected bodies callbacks

    Parameters

    Returns void

  • Triggers affected impostors callbacks

    Parameters

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Property
  • Method
  • Static method

Settings

Theme