|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbox2d.dynamics.joints.JointDef
org.jbox2d.dynamics.joints.FrictionJointDef
public class FrictionJointDef
Friction joint definition.
| Field Summary | |
|---|---|
Vec2 |
localAnchorA
The local anchor point relative to bodyA's origin. |
Vec2 |
localAnchorB
The local anchor point relative to bodyB's origin. |
float |
maxForce
The maximum friction force in N. |
float |
maxTorque
The maximum friction torque in N-m. |
| Fields inherited from class org.jbox2d.dynamics.joints.JointDef |
|---|
bodyA, bodyB, collideConnected, type, userData |
| Constructor Summary | |
|---|---|
FrictionJointDef()
|
|
| Method Summary | |
|---|---|
void |
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 Detail |
|---|
public final Vec2 localAnchorA
public final Vec2 localAnchorB
public float maxForce
public float maxTorque
| Constructor Detail |
|---|
public FrictionJointDef()
| Method Detail |
|---|
public void initialize(Body bA,
Body bB,
Vec2 anchor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||