added get methods for constraints

This commit is contained in:
ejcoumans
2006-11-21 00:29:11 +00:00
parent 15bb51d780
commit 4a23f4f438
3 changed files with 25 additions and 0 deletions

View File

@@ -137,6 +137,13 @@ public:
void debugDrawObject(const btTransform& worldTransform, const btCollisionShape* shape, const btVector3& color);
virtual void setConstraintSolver(btConstraintSolver* solver);
virtual int getNumConstraints() const;
virtual btTypedConstraint* getConstraint(int index) ;
virtual const btTypedConstraint* getConstraint(int index) const;
};