Add some accessor methods to btHingeConstraint and btSliderConstraint, to allow conversion.

Thanks to Roman Ponomarev.
This commit is contained in:
erwin.coumans
2008-07-22 02:15:17 +00:00
parent 016db0b3c5
commit fe5033119b
4 changed files with 648 additions and 610 deletions

View File

@@ -135,7 +135,24 @@ public:
{
return m_limitSign;
}
inline bool getAngularOnly()
{
return m_angularOnly;
}
inline bool getEnableAngularMotor()
{
return m_enableAngularMotor;
}
inline btScalar getMotorTargetVelosity()
{
return m_motorTargetVelocity;
}
inline btScalar getMaxMotorImpulse()
{
return m_maxMotorImpulse;
}
};
#endif //HINGECONSTRAINT_H