Yep, it's fixed! We can pour the gas can at 60FPS perfectly fine, and when we go-to 240FPS (way higher than 60FPS) we pour the same amount of fuel as before!
Yep, it's fixed! We can pour the gas can at 60FPS perfectly fine, and when we go-to 240FPS (way higher than 60FPS) we pour the same amount of fuel as before!
To solve this, the logic had to be replaced entirely lmao, it has to handle fractional depletion values that occur at high frame rates. The final solution was to use a probably-based approach to ensure the avg. depletion rate is always consistent.
To solve this, the logic had to be replaced entirely lmao, it has to handle fractional depletion values that occur at high frame rates. The final solution was to use a probably-based approach to ensure the avg. depletion rate is always consistent.
== ORIGINAL FLAWED CODE ==
Formatted to fit, not what it looks like in og.
Whoever was developing this correctly identified the need for the baseline fBaseTimeStepSeconds and to use the actual time per frame fwTimer::GetTimeStep()
== ORIGINAL FLAWED CODE ==
Formatted to fit, not what it looks like in og.
Whoever was developing this correctly identified the need for the baseline fBaseTimeStepSeconds and to use the actual time per frame fwTimer::GetTimeStep()
== ABOUT THE CODE ==
== ABOUT THE CODE ==
Video of issue attached, 1st is at 60, 2nd is at 240 fps (my monitor refresh rate)
Video of issue attached, 1st is at 60, 2nd is at 240 fps (my monitor refresh rate)
Camera | Canon EOS 30D
Camera | Canon EOS 30D