Class ConstantVolumeJoint
java.lang.Object
org.jbox2d.dynamics.joints.Joint
org.jbox2d.dynamics.joints.ConstantVolumeJoint
-
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 TypeMethodDescriptionvoidOverride to handle destruction of jointvoidgetAnchorA(Vec2 argOut) No-opvoidgetAnchorB(Vec2 argOut) No-opBody[]voidgetReactionForce(float inv_dt, Vec2 argOut) No-opfloatgetReactionTorque(float inv_dt) No-opvoidinflate(float factor) voidbooleanThis returns true if the position errors are within tolerance.voidMethods inherited from class Joint
create, destroy, getBodyA, getBodyB, getCollideConnected, getNext, getType, getUserData, isActive, setUserData
-
Constructor Details
-
ConstantVolumeJoint
-
-
Method Details
-
getBodies
-
getJoints
-
inflate
public void inflate(float factor) -
destructor
public void destructor()Description copied from class:JointOverride to handle destruction of joint- Overrides:
destructorin classJoint
-
initVelocityConstraints
- Specified by:
initVelocityConstraintsin classJoint
-
solvePositionConstraints
Description copied from class:JointThis returns true if the position errors are within tolerance.- Specified by:
solvePositionConstraintsin classJoint- Returns:
-
solveVelocityConstraints
- Specified by:
solveVelocityConstraintsin classJoint
-
getAnchorA
-
getAnchorB
-
getReactionForce
No-op- Specified by:
getReactionForcein classJoint- Parameters:
inv_dt-
-
getReactionTorque
public float getReactionTorque(float inv_dt) No-op- Specified by:
getReactionTorquein classJoint- Parameters:
inv_dt-- Returns:
-