- Timestamp:
- May 3, 2011, 5:07:42 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/external/bullet/BulletDynamics/Dynamics/btRigidBody.cpp
r8351 r8393 52 52 m_totalForce.setValue(btScalar(0.0), btScalar(0.0), btScalar(0.0)); 53 53 m_totalTorque.setValue(btScalar(0.0), btScalar(0.0), btScalar(0.0)), 54 m_linearDamping = btScalar(0.);55 m_angularDamping = btScalar(0.5); 54 setDamping(constructionInfo.m_linearDamping, constructionInfo.m_angularDamping); 55 56 56 m_linearSleepingThreshold = constructionInfo.m_linearSleepingThreshold; 57 57 m_angularSleepingThreshold = constructionInfo.m_angularSleepingThreshold; … … 85 85 86 86 setMassProps(constructionInfo.m_mass, constructionInfo.m_localInertia); 87 setDamping(constructionInfo.m_linearDamping, constructionInfo.m_angularDamping);88 87 updateInertiaTensor(); 89 88
Note: See TracChangeset
for help on using the changeset viewer.