From 88e5705a3fe04cf9e83baa4007c06e35d19156ae Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 8 May 2014 14:22:47 +1000 Subject: Code Cleanup: remove unused m_contactProcessingThreshold --- source/gameengine/Physics/Bullet/CcdPhysicsController.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'source/gameengine') diff --git a/source/gameengine/Physics/Bullet/CcdPhysicsController.h b/source/gameengine/Physics/Bullet/CcdPhysicsController.h index d8bb0d06d10..25a8f0306bd 100644 --- a/source/gameengine/Physics/Bullet/CcdPhysicsController.h +++ b/source/gameengine/Physics/Bullet/CcdPhysicsController.h @@ -287,8 +287,8 @@ struct CcdConstructionInfo m_fh_spring(0.f), m_fh_damping(0.f), m_fh_distance(1.f), - m_fh_normal(false), - m_contactProcessingThreshold(1e10f) + m_fh_normal(false) + // m_contactProcessingThreshold(1e10f) { } @@ -390,8 +390,7 @@ struct CcdConstructionInfo ///however, rigid body stacking is more stable when positive contacts are still passed into the constraint solver ///this might sometimes lead to collisions with 'internal edges' such as a sliding character controller ///so disable/set m_contactProcessingThreshold to zero for sliding characters etc. - float m_contactProcessingThreshold;///< Process contacts with positive distance in range [0..INF] - + // float m_contactProcessingThreshold;///< Process contacts with positive distance in range [0..INF] }; class btRigidBody; -- cgit v1.2.3