Godlike / Pegasus

Game physics engine (can fly)
MIT License
5 stars 2 forks source link

Object freeze #128

Closed ilia-glushchenko closed 5 years ago

ilia-glushchenko commented 5 years ago

Steps to reproduce:

  1. Create multiple objects rapidly

Result: Some of them start to freeze midair. Those who contact with frozen objects will freeze as well

Expected result: Objects continue to be integrated

Might be related to #113 and persistent collision detection algorithm

ilia-glushchenko commented 5 years ago

Something goes wrong in Resolver::SolveFrictionConstraint. If this method is commented out, the issue is not reproducible.

ilia-glushchenko commented 5 years ago

The problem was in the persistent contact resolution.

ilia-glushchenko commented 5 years ago

Duplicates #113