bullet3
bullet3 copied to clipboard
Fix NaN due to division by zero
I encountered NaN when simulating with a kinematic rigid body, one dynamic rigid body, and one rope anchored between them.
It was solved by avoiding division-by-zero when computing solverConstraint.m_jacDiagABInv
.