Package org.jbox2d.dynamics.joints
Class ConstantVolumeJoint
java.lang.Object
org.jbox2d.dynamics.joints.Joint
org.jbox2d.dynamics.joints.ConstantVolumeJoint
- Author:
- Daniel Murphy
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidOverride to handle destruction of jointvoidgetAnchorA(Vec2 argOut) No-opvoidgetAnchorB(Vec2 argOut) No-opBody[]voidgetReactionForce(float invDt, Vec2 argOut) No-opfloatgetReactionTorque(float invDt) No-opvoidinflate(float factor) voidInternalbooleanThis returns true if the position errors are within tolerance.voidInternalMethods inherited from class org.jbox2d.dynamics.joints.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
Description copied from class:JointInternal- Specified by:
initVelocityConstraintsin classJoint
-
solvePositionConstraints
Description copied from class:JointThis returns true if the position errors are within tolerance. Internal.- Specified by:
solvePositionConstraintsin classJoint
-
solveVelocityConstraints
Description copied from class:JointInternal- Specified by:
solveVelocityConstraintsin classJoint
-
getAnchorA
No-op- Specified by:
getAnchorAin classJoint
-
getAnchorB
No-op- Specified by:
getAnchorBin classJoint
-
getReactionForce
No-op- Specified by:
getReactionForcein classJoint
-
getReactionTorque
public float getReactionTorque(float invDt) No-op- Specified by:
getReactionTorquein classJoint
-