{
int i;
int numConstraints = constraints.size();
for (i = 0; i < numConstraints; i++) {
TypedConstraint constraint = constraints.getQuick(i);
RigidBody colObj0 = constraint.getRigidBodyA();
RigidBody colObj1 = constraint.getRigidBodyB();
if (((colObj0 != null) && (!colObj0.isStaticOrKinematicObject())) &&
((colObj1 != null) && (!colObj1.isStaticOrKinematicObject())))
{
if (colObj0.isActive() || colObj1.isActive()) {