19 #ifndef B2_ROPE_JOINT_H
20 #define B2_ROPE_JOINT_H
22 #include <Box2D/Dynamics/Joints/b2Joint.h>
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
void Dump()
Dump joint to dmLog.
Definition: b2RopeJoint.cpp:228
float32 maxLength
Definition: b2RopeJoint.h:47
void Set(float32 x_, float32 y_)
Set this vector to some specified coordinates.
Definition: b2Math.h:68
b2JointType type
The joint type is set automatically for concrete joint types.
Definition: b2Joint.h:86
Solver Data.
Definition: b2TimeStep.h:65
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
b2Vec2 GetReactionForce(float32 inv_dt) const
Get the reaction force on bodyB at the joint anchor in Newtons.
Definition: b2RopeJoint.cpp:206
b2Vec2 GetAnchorB() const
Get the anchor point on bodyB in world coordinates.
Definition: b2RopeJoint.cpp:201
float32 GetReactionTorque(float32 inv_dt) const
Get the reaction torque on bodyB in N*m.
Definition: b2RopeJoint.cpp:212
Definition: b2RopeJoint.h:28
A 2D column vector.
Definition: b2Math.h:56
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
b2Vec2 GetAnchorA() const
Get the anchor point on bodyA in world coordinates.
Definition: b2RopeJoint.cpp:196