We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Reproduced particle position even if System.update(delta) changes in a variable frame rate environment.
When System.update(delta) changes, the particle position not reproduced.
Here is the sample code. Anyone can change the DELTA_COEFFICIENT value.
DELTA_COEFFICIENT
delta
Nebula.Emitter.damping is not corrected by delta time.
integrate() function.
Velocity and Acceleration corrected by delta time.
In the sample code, if you change FIX_DAMPING = true, the particle positions will be reproduced.
FIX_DAMPING = true
The text was updated successfully, but these errors were encountered:
Hi! Thanks very much for this issue and the codepen, I'm looking into it, cc @manthrax
Sorry, something went wrong.
Resolved by #149
rohan-deshpande
No branches or pull requests
Expected Behavior
Reproduced particle position even if System.update(delta) changes in a variable frame rate environment.
Actual Behavior
When System.update(delta) changes, the particle position not reproduced.
Steps to Reproduce the Problem
codepen
Here is the sample code.
Anyone can change the
DELTA_COEFFICIENT
value.delta
= 0.0167 (DEFAULT_SYSTEM_DELTA)delta
= 0.00551Why
Nebula.Emitter.damping is not corrected by delta time.
integrate() function.
Velocity and Acceleration corrected by delta time.
In the sample code, if you change
FIX_DAMPING = true
, the particle positions will be reproduced.Specifications
The text was updated successfully, but these errors were encountered: