Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I know it is possible to add friction to rev joints by enabling motor and adding maxMotorTorque. I want the same for prism joint but only maxMotorSpeed option is available which didn't quite work for me. Is there another way?
The function you are looking for is SetMaxMotorForce. This function is analogous to SetMaxMotorTorque for b2RevoluteJoints.
Required, but never shown