Package org.jbox2d.dynamics.joints
Class FrictionJointDef
java.lang.Object
org.jbox2d.dynamics.joints.JointDef
org.jbox2d.dynamics.joints.FrictionJointDef
Friction joint definition.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(Body bA, Body bB, Vec2 anchor) Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
localAnchorA
The local anchor point relative to bodyA's origin. -
localAnchorB
The local anchor point relative to bodyB's origin. -
maxForce
public float maxForceThe maximum friction force in N. -
maxTorque
public float maxTorqueThe maximum friction torque in N-m.
-
-
Constructor Details
-
FrictionJointDef
public FrictionJointDef()
-
-
Method Details
-
initialize
Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.
-