Bullet debug draw added

It is off by default, see attributes of dSolverNode to turn it on
This commit is contained in:
rponom
2010-01-30 04:21:12 +00:00
parent 08f597454a
commit d5f5ddf2f1
15 changed files with 302 additions and 28 deletions

View File

@@ -49,7 +49,7 @@ m_useLinearReferenceFrameA(useLinearReferenceFrameA),
m_useOffsetForConstraintFrame(D6_USE_FRAME_OFFSET),
m_useSolveConstraintObsolete(D6_USE_OBSOLETE_METHOD)
{
calculateTransforms();
}
@@ -62,6 +62,7 @@ btGeneric6DofConstraint::btGeneric6DofConstraint(btRigidBody& rbB, const btTrans
{
///not providing rigidbody A means implicitly using worldspace for body A
m_frameInA = rbB.getCenterOfMassTransform() * m_frameInB;
calculateTransforms();
}