public class FrictionJointDef extends JointDef
Modifier and Type | Field and Description |
---|---|
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.
|
Constructor and Description |
---|
FrictionJointDef() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Body bA,
Body bB,
Vec2 anchor)
Initialize the bodies, anchors, axis, and reference angle using the world
anchor and world axis.
|
public final Vec2 localAnchorA
public final Vec2 localAnchorB
public float maxForce
public float maxTorque
Copyright © 2017. All Rights Reserved.