Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Light rain causes intermittent DRS enablement #107

Open
WilliamGawlik opened this issue May 1, 2023 · 1 comment
Open

Light rain causes intermittent DRS enablement #107

WilliamGawlik opened this issue May 1, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@WilliamGawlik
Copy link
Member

No description provided.

@WilliamGawlik WilliamGawlik converted this from a draft issue May 1, 2023
@WilliamGawlik WilliamGawlik added the bug Something isn't working label May 1, 2023
@WilliamGawlik WilliamGawlik self-assigned this May 1, 2023
@WilliamGawlik WilliamGawlik moved this from New to Planned in RARE Roadmap May 1, 2023
@tomasastary tomasastary self-assigned this May 13, 2023
@tomasastary
Copy link

In function:
function weatherTreeNode(sim, rc)
math.floor(sim.rainIntensity / 0.003) //at about 0.33% of rain intensity floor flapping between 0 and 1 (max clamp).

therefore totalWetness jumps down to zero value when multiplied by zero):
local totalWetness = ((sim.rainWetness * 10000 * 3.75) + (sim.rainWater * 100 * 12.5)) * (isRaining and 1 or 0)

so DRS is flapping when rainIntensity is flapping up and down around 0.33%

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Planned
Development

No branches or pull requests

2 participants