19 #ifndef B2_MOTOR_JOINT_H
20 #define B2_MOTOR_JOINT_H
22 #include <Box2D/Dynamics/Joints/b2Joint.h>
70 const b2Vec2& GetLinearOffset()
const;
74 float32 GetAngularOffset()
const;
103 void InitVelocityConstraints(
const b2SolverData& data);
104 void SolveVelocityConstraints(
const b2SolverData& data);
105 bool SolvePositionConstraints(
const b2SolverData& data);
109 float32 m_angularOffset;
111 float32 m_angularImpulse;
114 float32 m_correctionFactor;
124 float32 m_angularError;
130 float32 m_angularMass;