You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
agreed, probably best would be to check if inverse mass is equal to zero (of course using a bias to compensate for numerical precision). I will try to fix this and make a pull request.
In the book (p 47) it says the inverse mass is used for representing infinite mass
but the code in particle.cpp reads
causing the bug
setInverseMass(0); hasFiniteMass() == true
The text was updated successfully, but these errors were encountered: