Darthfett / A-Priori-Physics-System

A side-scroller game based upon Mega Man X, with a priori collision detection, and objects being represented as a sequence of connected points.
3 stars 0 forks source link

Objects can pass through each other #6

Closed Darthfett closed 12 years ago

Darthfett commented 12 years ago

Objects can pass right through each other, as no collision detection or resolution is currently occurring.

Darthfett commented 12 years ago

As of 717b144337, this issue can be detected for objects with non-zero relative acceleration. With 68e6a5e010, there are no known cases where this cannot be detected.

Note that the resolution of objects passing through each other is a different matter entirely.

Darthfett commented 12 years ago

As of b78acf9, There is some basic collision resolution which causes an object to bounce. However, with a 'friction' value less than 1, the objects can 'come to rest' upon each other, and end up falling through each other, due to the bug in issue #21.

Darthfett commented 12 years ago

Going to close this issue, as this doesn't happen exactly as described in the issue. #21 is very near a duplicate of this, but is more descriptive for the current situation.