new Box2dFrictionJoint(objectA, objectB, anchor, collide)box2d.js:2092Create a friction joint
objectABox2dObjectobjectBBox2dObjectanchorVector2 optionalWorld position, objectB's position if not given
collideboolean optional, default false
Box2D Friction Joint
Extends Box2dJoint
new Box2dFrictionJoint(objectA, objectB, anchor, collide)box2d.js:2092Create a friction joint
objectA Box2dObjectobjectB Box2dObjectanchor Vector2 optionalWorld position, objectB's position if not given
collide boolean optional, default falsegetLocalAnchorA() → Vector2box2d.js:2115Get the local anchor point relative to objectA's origin
getLocalAnchorB() → Vector2box2d.js:2119Get the local anchor point relative to objectB's origin
getMaxForce() → numberbox2d.js:2127Get the maximum friction force
getMaxTorque() → numberbox2d.js:2135Get the maximum friction torque