public class FrictionJointDef extends JointDef
JointDef.JointType
Modifier and Type | Field and Description |
---|---|
Vector2 |
localAnchorA
The local anchor point relative to bodyA's origin.
|
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,
Vector2 anchor)
Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.
|
public final Vector2 localAnchorA
public final Vector2 localAnchorB
public float maxForce
public float maxTorque