five-on-it / packages/sim/src/water / WATER
Variable: WATER
constWATER:object
Defined in: packages/sim/src/water.ts:24
The numbers of the water.
Type Declaration
climbOut
readonlyclimbOut:0.6=0.6
How far over its feet a swimmer climbs out onto the shore or a shelf ahead (m).
drag
readonlydrag:2=2
How much the water slows a car in it (linear damping).
float
readonlyfloat:0.35=0.35
How far under the surface a swimmer's middle floats (m): the head out.
flood
readonlyflood:0.6=0.6
How deep a car's middle sinks before it floods (m).
swim
readonlyswim:1.3=1.3
How deep a person swims (m): over the chest.
swimSpeed
readonlyswimSpeed:1.6=1.6
How fast a swimmer moves (m/s).
wade
readonlywade:0.45=WADE_DEPTH
How deep over the feet a person wades (m): over the knees.
wadePace
readonlywadePace:0.5=0.5
How much of its pace a wader keeps.