Forum Discussion
EnTerr
10 years agoRoku Guru
"Romans_I_XVI" wrote:
Roku 3, if I do that on Roku 1 it's very laggy.
How many FPS on #42xx vs #3xxx vs 27xx?
Doing the elastic collision of round particles should be simple - admittedly i haven't done it in years but https://en.wikipedia.org/wiki/Elastic_c ... _Newtonian
The "pass trought" and "drag along" are interesting issues of simulation discretization to frames which i seem to vaguely remember. Your method of "back off" correction - does it work well when there is bunch of objects touching at the same time? For example line of balls like in Newton's craddle (no need of wires, end balls may bounce back from the room walls).
Alternatively, how about counting collision between two bodies only when they are touching (or overlapping) AND their speed vectors are colliding? (I.e. when they are pulling apart that's not collision or both are moving same direction and frontmost is faster, that's also not)