API

Class PhysicsVortexEventOptions

Options for the vortex event

Index
centrifugalForceMultiplier: number = 0.5

This multiplier determines with how much force the objects will be pushed sideways/around the vortex, when above the threshold.

centripetalForceMultiplier: number = 5

This multiplier determines with how much force the objects will be pushed sideways/around the vortex, when below the threshold.

centripetalForceThreshold: number = 0.7

At which distance, relative to the radius the centripetal forces should kick in? Range: 0-1

height: number = 10

The height of the cylinder for the vortex.

radius: number = 5

The radius of the cylinder for the vortex

strength: number = 10

The strength of the vortex.

updraftForceMultiplier: number = 0.02

This multiplier determines with how much force the objects will be pushed upwards, when in the vortex.