19 #ifndef B2_ROPE_JOINT_H 20 #define B2_ROPE_JOINT_H virtual void SolveVelocityConstraints(const b2SolverData &data)=0
Joint definitions are used to construct joints.
b2Vec2 localAnchorA
The local anchor point relative to bodyA's origin.
const b2Vec2 & GetLocalAnchorB() const
The local anchor point relative to bodyB's origin.
virtual void InitVelocityConstraints(const b2SolverData &data)=0
virtual bool SolvePositionConstraints(const b2SolverData &data)=0
b2Vec2 localAnchorB
The local anchor point relative to bodyB's origin.
b2JointType type
The joint type is set automatically for concrete joint types.
void SetMaxLength(float32 length)
Set/Get the maximum length of the rope.
const b2Vec2 & GetLocalAnchorA() const
The local anchor point relative to bodyA's origin.
void Set(float32 x_, float32 y_)
Set this vector to some specified coordinates.