CLASSES
TagsA - Z

PhysicsUpdraftEvent

Description

class PhysicsUpdraftEvent

Updraft */

Constructor

new PhysicsUpdraftEvent(physicsEngine, scene, origin, radius, strength, height, updraftMode)

Parameters

Name Type Description
physicsEngine PhysicsEngine
scene Scene
origin Vector3
radius number
strength number
height number

Methods

getData() PhysicsUpdraftEventData

Returns the data related to the updraft event (cylinder).

@returns {PhysicsGravitationalFieldEventData}

enable() void

Enables the updraft.

disable() void

Disables the cortex.

dispose(force) void

Disposes the sphere.

Parameters

Name Type Description
optional force boolean