public class WeldJointDef extends JointDef
Modifier and Type | Field and Description |
---|---|
float |
dampingRatio
The damping ratio.
|
float |
frequencyHz
The mass-spring-damper frequency in Hertz.
|
Vec2 |
localAnchorA
The local anchor point relative to body1's origin.
|
Vec2 |
localAnchorB
The local anchor point relative to body2's origin.
|
float |
referenceAngle
The body2 angle minus body1 angle in the reference state (radians).
|
Constructor and Description |
---|
WeldJointDef() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(Body bA,
Body bB,
Vec2 anchor)
Initialize the bodies, anchors, and reference angle using a world
anchor point.
|
public final Vec2 localAnchorA
public final Vec2 localAnchorB
public float referenceAngle
public float frequencyHz
public float dampingRatio
Copyright © 2017. All Rights Reserved.