Skip to content

Rain implementation - dry track until 50% rain, then flooded quickly #162

Description

@robertodeacon-pixel

I literally cannot design an F1 car where two wet compounds (ie: inters and wets) are viable. The track holds off getting wet far too long then suddenly floods, so effective water levels are extremely narrow (rain to heavy rain, basically). Solution is in the rainhelper function. The logic there is very much a "wetting versus drying competition" which is always going to end up with one of them winning. Better to have the rain levels heading towards an equilibrium and using wetting/drying to resist getting there rather than stopping it - so hot weather encourages drying, for example, but the track will still dry out eventually in the cold. The source for a simple, neat solution is attached and I also have a working server here - https://drive.google.com/file/d/1VTZzvadL_3xX49JCquYuCJpFEzGpxApG/view?usp=sharing

Rainhelper source.txt

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions