I find that at the end of function 'velocitySolve_RigidBodyContactContaint', 'dynamic friction' is handled. But I can not find where to handle the static friction? Or how to handle static friction in PBD method?
I tried to add a new 'FrictionConstraint' mentioned in section 5.4.4, "A Survey on Position Based Dynamics, 2017", and get some positive effects. Maybe it's the proper way to handle static friction?
I find that at the end of function 'velocitySolve_RigidBodyContactContaint', 'dynamic friction' is handled. But I can not find where to handle the static friction? Or how to handle static friction in PBD method?