PhysicsHelper

Hierarchy

  • PhysicsHelper

Index

Constructors

constructor

Methods

applyRadialExplosionForce

applyRadialExplosionImpulse

gravitationalField

updraft

  • Parameters

    • origin: Vector3

      the origin of the updraft

    • radius: number

      the radius of the updraft

    • strength: number

      the strength of the updraft

    • height: number

      the height of the updraft

    • Optional updraftMode: PhysicsUpdraftMode

      possible options: Center & Perpendicular. Defaults to Center

    Returns Nullable<PhysicsUpdraftEvent>

vortex

  • Parameters

    • origin: Vector3

      the of the vortex

    • radius: number

      the radius of the vortex

    • strength: number

      the strength of the vortex

    • height: number

      the height of the vortex

    Returns Nullable<PhysicsVortexEvent>

Generated using TypeDoc