Adding support for lateral friction to getContactPoints()

This commit is contained in:
Julian Viereck
2018-09-24 09:46:56 -04:00
parent cdd56e4641
commit 219dfc757a
4 changed files with 61 additions and 10 deletions

View File

@@ -572,13 +572,10 @@ struct b3ContactPointData
double m_normalForce;
//todo: expose the friction forces as well
// double m_linearFrictionDirection0[3];
// double m_linearFrictionForce0;
// double m_linearFrictionDirection1[3];
// double m_linearFrictionForce1;
// double m_angularFrictionDirection[3];
// double m_angularFrictionForce;
double m_linearFrictionForce1;
double m_linearFrictionForce2;
double m_linearFrictionDirection1[3];
double m_linearFrictionDirection2[3];
};
enum