public class FrictionJointDef extends JointDef
JointDef.JointType| Modifier and Type | Field and Description |
|---|---|
com.badlogic.gdx.math.Vector2 |
localAnchorA
The local anchor point relative to bodyA's origin.
|
com.badlogic.gdx.math.Vector2 |
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.
|
bodyA, bodyB, collideConnected, type| Constructor and Description |
|---|
FrictionJointDef() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Body bodyA,
Body bodyB,
com.badlogic.gdx.math.Vector2 anchor)
Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.
|
public final com.badlogic.gdx.math.Vector2 localAnchorA
public final com.badlogic.gdx.math.Vector2 localAnchorB
public float maxForce
public float maxTorque