SceneWeather
Since next
How hard it is raining and how wet that has left the ground, for a vehicle's tyres: the wetness follows the rain over wetTime and dryTime (docs/VEHICLES.md, Surfaces and weather).
Fields
| Field | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
rain | number | no | 0 | Rain intensity now, 0 (none) to 1 (a downpour). Default 0. | |
wetness | number | no | How wet the ground is at load, 0 (dry) to 1 (soaked). Default: equal to rain, the ground already as wet as the rain makes it. From then on it follows the rain. | ||
wetTime | number | no | 60 | Seconds, above 0, for the ground to wet toward the rain's level (a first-order lag). Default 60. | |
dryTime | number | no | 600 | Seconds, above 0, for the ground to dry once the rain eases. Default 600. |