forsythrosin / MosPro

3 stars 0 forks source link

45 degrees bug #12

Closed quoral closed 11 years ago

quoral commented 11 years ago

When objects are 45 degrees from eachother, GJK thinks they are colliding regardless of distance. This issue has only been repeated when objects are at coordinates -1, -1 and 1, 1

quoral commented 11 years ago

Issue has been replicated with the points -1.5, 0 and 1.6, 0 aswell

quoral commented 11 years ago

The bug was caused by non checks of abPerp and acPerp being == to zero, and other dot products.