make gjk a bit more robust, try different initial guess vector if it fails to find a solution (happens for queries with large differences in shape size)
This commit is contained in:
@@ -35,7 +35,7 @@ subject to the following restrictions:
|
||||
btScalar gGjkEpaPenetrationTolerance = 1e-7;
|
||||
#else
|
||||
#define REL_ERROR2 btScalar(1.0e-6)
|
||||
btScalar gGjkEpaPenetrationTolerance = 0.001;
|
||||
btScalar gGjkEpaPenetrationTolerance = BT_LARGE_FLOAT;
|
||||
#endif
|
||||
|
||||
//temp globals, to improve GJK/EPA/penetration calculations
|
||||
|
||||
Reference in New Issue
Block a user