enable btGearConstraint, expose 'changeDynamics' for gearRatio, only works for maximalCoordinates rigid bodies.

See examples\pybullet\examples\mimicJointConstraint.py
This commit is contained in:
Erwin Coumans
2017-06-07 13:44:34 -07:00
parent d08f3e5f91
commit 60e3887456
7 changed files with 94 additions and 8 deletions

View File

@@ -184,6 +184,7 @@ enum JointType {
ePlanarType = 3,
eFixedType = 4,
ePoint2PointType = 5,
eGearType=6
};
@@ -227,6 +228,8 @@ struct b3UserConstraint
int m_jointType;
double m_maxAppliedForce;
int m_userConstraintUniqueId;
double m_gearRatio;
};
struct b3BodyInfo