public class WeldJointDef extends JointDef
JointDef.JointType
Modifier and Type | Field and Description |
---|---|
float |
dampingRatio
The damping ratio.
|
float |
frequencyHz
The mass-spring-damper frequency in Hertz.
|
Vector2 |
localAnchorA
The local anchor point relative to body1's origin.
|
Vector2 |
localAnchorB
The local anchor point relative to body2's origin.
|
float |
referenceAngle
The body2 angle minus body1 angle in the reference state (radians).
|
bodyA, bodyB, collideConnected, type
Constructor and Description |
---|
WeldJointDef() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Body body1,
Body body2,
Vector2 anchor)
Initialize the bodies, anchors, and reference angle using a world anchor point.
|
public final Vector2 localAnchorA
public final Vector2 localAnchorB
public float referenceAngle
public float frequencyHz
public float dampingRatio