CLASSES
TagsA - Z

PhysicsHelper

Description

class PhysicsHelper

Constructor

new PhysicsHelper(scene)

Parameters

Name Type Description
scene Scene

Methods

applyRadialExplosionImpulse(origin, radius, strength, falloff) Nullable<PhysicsRadialExplosionEvent>

Parameters

Name Type Description
origin Vector3
radius number
strength number

applyRadialExplosionForce(origin, radius, strength, falloff) Nullable<PhysicsRadialExplosionEvent>

Parameters

Name Type Description
origin Vector3
radius number
strength number

gravitationalField(origin, radius, strength, falloff) Nullable<PhysicsGravitationalFieldEvent>

Parameters

Name Type Description
origin Vector3
radius number
strength number

updraft(origin, radius, strength, height, updraftMode) Nullable<PhysicsUpdraftEvent>

Parameters

Name Type Description
origin Vector3
radius number
strength number
height number