|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbox2d.dynamics.joints.JointDef
org.jbox2d.dynamics.joints.WeldJointDef
public class WeldJointDef
Field Summary | |
---|---|
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). |
Fields inherited from class org.jbox2d.dynamics.joints.JointDef |
---|
bodyA, bodyB, collideConnected, type, userData |
Constructor Summary | |
---|---|
WeldJointDef()
|
Method Summary | |
---|---|
void |
initialize(Body bA,
Body bB,
Vec2 anchor)
Initialize the bodies, anchors, and reference angle using a world anchor point. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Vec2 localAnchorA
public final Vec2 localAnchorB
public float referenceAngle
public float frequencyHz
public float dampingRatio
Constructor Detail |
---|
public WeldJointDef()
Method Detail |
---|
public void initialize(Body bA, Body bB, Vec2 anchor)
bA
- bB
- anchor
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |