|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.badlogic.gdx.physics.box2d.Joint
public abstract class Joint
Method Summary | |
---|---|
Vector2 |
getAnchorA()
|
Vector2 |
getAnchorB()
|
Body |
getBodyA()
Get the first body attached to this joint. |
Body |
getBodyB()
Get the second body attached to this joint. |
Vector2 |
getReactionForce(float inv_dt)
|
float |
getReactionTorque(float inv_dt)
Get the reaction torque on body2 in N*m. |
JointDef.JointType |
getType()
Get the type of the concrete joint. |
Object |
getUserData()
Get the user data |
boolean |
isActive()
Short-cut function to determine if either body is inactive. |
void |
setUserData(Object userData)
Set the user data |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public JointDef.JointType getType()
public Body getBodyA()
public Body getBodyB()
public Vector2 getAnchorA()
public Vector2 getAnchorB()
public Vector2 getReactionForce(float inv_dt)
public float getReactionTorque(float inv_dt)
public Object getUserData()
public void setUserData(Object userData)
public boolean isActive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |