EulalieCoevoet / AdaptiveMerging

With adaptive merging we reduce computation time in rigid body simulations.
https://eulaliecoevoet.github.io/AdaptiveMerging/
42 stars 11 forks source link

Apply results of one iteration PGS to unmerged bodies, all the time? #29

Closed EulalieCoevoet closed 4 years ago

EulalieCoevoet commented 5 years ago

I think we should come with a strategy for that because, we need this feature to correctly solve collision/impact, yet it can lead to unstable configuration if we apply these cheap results all the time? What about applying these cheap results only if the relative velocity is twice (or something else) the threshold? or if we notice big and fast change?

paulkry commented 5 years ago

If it is dangerous, then perhaps best to simply have one time step of "extra force" holding the object merged in the collection before letting it break free? I had the impression that it was OK to add the velocity from the one iteration PGS provided it is an underestimate of the true velocity update? Warm start PGS would not give us that though...

EulalieCoevoet commented 4 years ago

Fixed :)