Changeset 2907 for code/branches/questsystem5/src/bullet/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.cpp
- Timestamp:
- Apr 8, 2009, 12:36:08 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/bullet/BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.cpp
r2662 r2907 136 136 //btScalar clippedDist = dist; 137 137 138 //don't report time of impact for motion away from the contact normal (or causes minor penetration) 139 if ((projectedLinearVelocity+ maxAngularProjectedVelocity)<=SIMD_EPSILON) 140 return false; 138 141 139 142 dLambda = dist / (projectedLinearVelocity+ maxAngularProjectedVelocity); … … 197 200 198 201 } 199 200 //don't report time of impact for motion away from the contact normal (or causes minor penetration) 202 201 203 if ((projectedLinearVelocity+ maxAngularProjectedVelocity)<=result.m_allowedPenetration)//SIMD_EPSILON) 202 204 return false; 203 205 204 206 result.m_fraction = lambda; 205 207 result.m_normal = n;
Note: See TracChangeset
for help on using the changeset viewer.