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?
0
\$\begingroup\$
\$\endgroup\$
1
\$\begingroup\$
\$\endgroup\$
The function you are looking for is SetMaxMotorForce
. This function is analogous to SetMaxMotorTorque
for b2RevoluteJoint
s.
-
\$\begingroup\$ You are right, it should be called force instead of torque as it is not rotating. So that is the correct terminology. \$\endgroup\$ – morevitamins Aug 2 '17 at 18:03