Hi,
I am developing a system to create a breakable constraints. I have a value from getAppliedImpulse which seems correct for "point2point" constraints but for the other constraints, the impulse keeps increasing every frame.
I found a post on code.google about the problem with getAppliedImpulse
https://code.google.com/p/bullet/issues/detail?id=301
The code below (btSequentialConstraintSolver,cpp) seems to be a problem
btScalar sum = constr->internalGetAppliedImpulse();
sum += solverConstr.m_appliedImpulse;
constr->internalSetAppliedImpulse(sum);
Unfortunately, this code is used by getAppliedImpulse, if removed the getAppliedImpulse will return 0.
Any idea, how to make getAppliedImpulse works?
Thanks
Vince