Add a virtual createConstraintRows method, to easier experiment with different kinds of btMultiBodyConstraint

This commit is contained in:
erwin.coumans
2013-10-02 21:38:40 +00:00
parent c2bece5280
commit 75f17509cc
8 changed files with 463 additions and 451 deletions

View File

@@ -20,6 +20,8 @@ subject to the following restrictions:
#include "LinearMath/btAlignedObjectArray.h"
class btMultiBody;
#include "BulletDynamics/ConstraintSolver/btSolverBody.h"
#include "BulletDynamics/ConstraintSolver/btContactSolverInfo.h"
///1D constraint along a normal axis between bodyA and bodyB. It can be combined to solve contact and friction constraints.
ATTRIBUTE_ALIGNED16 (struct) btMultiBodySolverConstraint