public class FrictionJoint extends Joint
Constructor and Description |
---|
FrictionJoint(World world,
long addr) |
Modifier and Type | Method and Description |
---|---|
Vector2 |
getLocalAnchorA() |
Vector2 |
getLocalAnchorB() |
float |
getMaxForce()
Get the maximum friction force in N.
|
float |
getMaxTorque()
Get the maximum friction torque in N*m.
|
void |
setMaxForce(float force)
Set the maximum friction force in N.
|
void |
setMaxTorque(float torque)
Set the maximum friction torque in N*m.
|
getAnchorA, getAnchorB, getBodyA, getBodyB, getCollideConnected, getReactionForce, getReactionTorque, getType, getUserData, isActive, setUserData
public FrictionJoint(World world, long addr)
public Vector2 getLocalAnchorA()
public Vector2 getLocalAnchorB()
public void setMaxForce(float force)
public float getMaxForce()
public void setMaxTorque(float torque)
public float getMaxTorque()
Copyright © 2014. All Rights Reserved.