19 #ifndef B2_ROPE_JOINT_H 20 #define B2_ROPE_JOINT_H 22 #include <Box2D/Dynamics/Joints/b2Joint.h> 64 b2Vec2 GetReactionForce(float32 inv_dt)
const;
65 float32 GetReactionTorque(float32 inv_dt)
const;
75 float32 GetMaxLength()
const;
77 b2LimitState GetLimitState()
const;
111 b2LimitState m_state;
Definition: b2RopeJoint.h:58
const b2Vec2 & GetLocalAnchorA() const
The local anchor point relative to bodyA's origin.
Definition: b2RopeJoint.h:68
Definition: b2Joint.h:103
float32 maxLength
Definition: b2RopeJoint.h:47
void Set(float32 x_, float32 y_)
Set this vector to some specified coordinates.
Definition: b2Math.h:65
b2JointType type
The joint type is set automatically for concrete joint types.
Definition: b2Joint.h:86
Solver Data.
Definition: b2TimeStep.h:63
const b2Vec2 & GetLocalAnchorB() const
The local anchor point relative to bodyB's origin.
Definition: b2RopeJoint.h:71
Joint definitions are used to construct joints.
Definition: b2Joint.h:74
void SetMaxLength(float32 length)
Set/Get the maximum length of the rope.
Definition: b2RopeJoint.h:74
Definition: b2RopeJoint.h:28
A 2D column vector.
Definition: b2Math.h:53
b2Vec2 localAnchorB
The local anchor point relative to bodyB's origin.
Definition: b2RopeJoint.h:42
b2Vec2 localAnchorA
The local anchor point relative to bodyA's origin.
Definition: b2RopeJoint.h:39