Class PhysicsVortexEventOptions
Index
Constructors
constructor
-
Returns PhysicsVortexEventOptions
Properties
centrifugal Force Multiplier
centrifugalForceMultiplier: number = 0.5
This multiplier determines with how much force the objects will be pushed sideways/around the vortex, when above the threshold.
centripetal Force Multiplier
centripetalForceMultiplier: number = 5
This multiplier determines with how much force the objects will be pushed sideways/around the vortex, when below the threshold.
centripetal Force Threshold
centripetalForceThreshold: number = 0.7
At which distance, relative to the radius the centripetal forces should kick in? Range: 0-1
height
height: number = 10
The height of the cylinder for the vortex.
radius
radius: number = 5
The radius of the cylinder for the vortex
strength
strength: number = 10
The strength of the vortex.
updraft Force Multiplier
updraftForceMultiplier: number = 0.02
This multiplier determines with how much force the objects will be pushed upwards, when in the vortex.
Options for the vortex event
See
https://doc.babylonjs.com/features/featuresDeepDive/physics/usingPhysicsEngine#further-functionality-of-the-impostor-class