1f4f8c7e057c0da54b1df9a92fc9e6128c75eb06
In some degenerate cases the contact normal is pointing the wrong direction so fix it now (until we can deal with all degenerate cases in GJK and EPA) contact normals need to point from B to A in all cases, so we can simply check if the contact normal really points from B to A We like to use a dot product of the normal against the difference of the centroids, once the centroid is available in the API until then we use the center of the aabb to approximate the centroid
Bullet is a 3D Collision Detection and Rigid Body Dynamics Library for games and animation. Free for commercial use, including Playstation 3, open source under the ZLib License. See the Bullet_User_Manual.pdf for more info and visit the Bullet Physics Forum at http://bulletphysics.org
Description
Languages
Wavefront Object
70.5%
C++
13%
Mathematica
8.2%
COLLADA
5.8%
C
2%
Other
0.4%