AW WORLD GRAVITY

From ActiveWiki
Jump to navigation Jump to search


Minimum requirements
Added in version 3.4
SDKbuild 29
Browserbuild 445


AW_WORLD_GRAVITY

Type

Floating point

Description

Acceleration of an avatar due to gravitational attraction.

Notes

This can be used adjust the intensity of gravitational attraction in the world, or even reverse its pull. The effect of gravity is on only if there is a ground object or terrain.

The upward velocity of an avatar is capped at approximately -10 x AW_WORLD_GRAVITY meters per second (e.g. 25 meters per second if AW_WORLD_GRAVITY is set to -2.5), and the downward velocity of an avatar is typically capped at 90 to 100 meters per second regardless of AW_WORLD_GRAVITY.

Note that AW_WORLD_FRICTION plays a part in the maximum upward velocity.

Range

Minimum:-10.0 (-98.06 meters per second per second)
Maximum:10.0 (98.06 meters per second per second)
Default:1.0 (9.806 metres per second per second)

See also