Merge pull request #770 from erwincoumans/master

export contact friction/damping through URDF and API
This commit is contained in:
erwincoumans
2016-09-02 18:18:21 -07:00
committed by GitHub
19 changed files with 269 additions and 125 deletions

View File

@@ -410,7 +410,10 @@ void ConvertURDF2BulletInternal(
{
col->setRollingFriction(contactInfo.m_rollingFriction);
}
if ((contactInfo.m_flags & URDF_CONTACT_HAS_STIFFNESS_DAMPING)!=0)
{
col->setContactStiffnessAndDamping(contactInfo.m_contactStiffness,contactInfo.m_contactDamping);
}
if (mbLinkIndex>=0) //???? double-check +/- 1
{