diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2020-09-22 13:25:13 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2020-09-22 15:02:53 +0300 |
commit | 8d1123ba220b2e473d99960ab44b798c78bad73c (patch) | |
tree | 418d47eb7d70f1d3df26608a46ab8e12f5abc52d /intern | |
parent | edd19c1df91179f283fb5c62f8d041ba43b0fb05 (diff) |
Refactor for effector / collider velocities
This refactor is in response to an unreported bug in which overlapping, moving colliders produced an unstable simulation.
Things that change apart from cleanup through this refactor:
- Effector objects with no velocities (either non-animated or animated but non-moving object) will explicitly set zero velocities in their flow bounding box.
- When applying object velocities to the global grid, they will now be accumulated per cell (add and not set velocities). Later they will be averaged with the object count at any cell.
Diffstat (limited to 'intern')
0 files changed, 0 insertions, 0 deletions