|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.physics.box2d.JointDef
com.badlogic.gdx.physics.box2d.joints.RopeJointDef
public class RopeJointDef
Rope joint definition. This requires two body anchor points and a maximum lengths. Note: by default the connected objects will not collide. see collideConnected in b2JointDef.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.badlogic.gdx.physics.box2d.JointDef |
---|
JointDef.JointType |
Field Summary | |
---|---|
Vector2 |
localAnchorA
The local anchor point relative to bodyA's origin. |
Vector2 |
localAnchorB
The local anchor point relative to bodyB's origin. |
float |
maxLength
The maximum length of the rope. |
Fields inherited from class com.badlogic.gdx.physics.box2d.JointDef |
---|
bodyA, bodyB, collideConnected, type |
Constructor Summary | |
---|---|
RopeJointDef()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Vector2 localAnchorA
public final Vector2 localAnchorB
public float maxLength
Constructor Detail |
---|
public RopeJointDef()
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |