diff options
Diffstat (limited to 'extern/bullet/Bullet/NarrowPhaseCollision/PersistentManifold.h')
-rw-r--r-- | extern/bullet/Bullet/NarrowPhaseCollision/PersistentManifold.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/bullet/Bullet/NarrowPhaseCollision/PersistentManifold.h b/extern/bullet/Bullet/NarrowPhaseCollision/PersistentManifold.h index ca02aa9c9a4..2d91a08602b 100644 --- a/extern/bullet/Bullet/NarrowPhaseCollision/PersistentManifold.h +++ b/extern/bullet/Bullet/NarrowPhaseCollision/PersistentManifold.h @@ -101,7 +101,7 @@ public: bool ValidContactDistance(const ManifoldPoint& pt) const { - return pt.m_distance1 < GetManifoldMargin(); + return pt.m_distance1 <= GetManifoldMargin(); } /// calculated new worldspace coordinates and depth, and reject points that exceed the collision margin void RefreshContactPoints( const SimdTransform& trA,const SimdTransform& trB); |