fix kinematic objects, see Issue 652

add m_rollingFriction to btRigidBody::btRigidBodyConstructionInfo
This commit is contained in:
erwin.coumans
2012-09-20 03:32:52 +00:00
parent 19583868a9
commit 59a29b1859
3 changed files with 7 additions and 1 deletions

View File

@@ -78,6 +78,7 @@ void btRigidBody::setupRigidBody(const btRigidBody::btRigidBodyConstructionInfo&
//moved to btCollisionObject
m_friction = constructionInfo.m_friction;
m_rollingFriction = constructionInfo.m_rollingFriction;
m_restitution = constructionInfo.m_restitution;
setCollisionShape( constructionInfo.m_collisionShape );