Class RopeJoint
java.lang.Object
com.codename1.gaming.physics.box2d.dynamics.joints.Joint
com.codename1.gaming.physics.box2d.dynamics.joints.RopeJoint
-
Field Summary
Fields inherited from class Joint
m_bodyA, m_bodyB, m_edgeA, m_edgeB, m_islandFlag, m_next, m_prev, m_userData, pool -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAnchorA(Vec2 argOut) voidgetAnchorB(Vec2 argOut) floatvoidgetReactionForce(float inv_dt, Vec2 argOut) floatgetReactionTorque(float inv_dt) voidvoidsetMaxLength(float maxLength) booleanvoidMethods inherited from class Joint
create, destroy, destructor, getBodyA, getBodyB, getCollideConnected, getNext, getType, getUserData, isActive, setUserData
-
Constructor Details
-
RopeJoint
-
-
Method Details
-
initVelocityConstraints
- Specified by:
initVelocityConstraintsin classJoint
-
solveVelocityConstraints
- Specified by:
solveVelocityConstraintsin classJoint
-
solvePositionConstraints
- Specified by:
solvePositionConstraintsin classJoint
-
getAnchorA
- Specified by:
getAnchorAin classJoint
-
getAnchorB
- Specified by:
getAnchorBin classJoint
-
getReactionForce
- Specified by:
getReactionForcein classJoint
-
getReactionTorque
public float getReactionTorque(float inv_dt) - Specified by:
getReactionTorquein classJoint
-
getLocalAnchorA
-
getLocalAnchorB
-
getMaxLength
public float getMaxLength() -
setMaxLength
public void setMaxLength(float maxLength) -
getLimitState
-