public class ConstantVolumeJoint
Constructors
public ConstantVolumeJoint(World argWorld, ConstantVolumeJointDef def) |
Methods
Inherited fields
From Joint
m_prev, m_next, m_edgeA, m_edgeB, m_bodyA, m_bodyB, m_islandFlag, m_userData, pool
Inherited methods
Constructor details
ConstantVolumeJoint
public ConstantVolumeJoint(World argWorld, ConstantVolumeJointDef def)Method details
getBodies
public Body[] getBodies()getJoints
public DistanceJoint[] getJoints()inflate
public void inflate(float factor)destructor
public void destructor()Override to handle destruction of joint
initVelocityConstraints
public void initVelocityConstraints(SolverData step)solvePositionConstraints
public boolean solvePositionConstraints(SolverData step)This returns true if the position errors are within tolerance.
solveVelocityConstraints
public void solveVelocityConstraints(SolverData step)getAnchorA
public void getAnchorA(Vec2 argOut)No-op
getAnchorB
public void getAnchorB(Vec2 argOut)No-op
getReactionForce
public void getReactionForce(float inv_dt, Vec2 argOut)No-op
getReactionTorque
public float getReactionTorque(float inv_dt)No-op