Hello,
I'm not sure what I'm doing wrong here, but every time I create a mouse joint like so:
Code:
b2MouseJointDef mouseJointDef;
mouseJointDef.maxForce = 100;
mouseJointDef.bodyA = body;
mouseJointDef.bodyB = m_groundBody;
mouseJointDef.target = b2Vec2(10, 10);
m_mouseJoint = (b2MouseJoint *)m_world->CreateJoint(&mouseJointDef);
I get this at the next call to Step()
Code:
/build/src/Box2D_v2.2.1/Box2D/Dynamics/Joints/b2MouseJoint.cpp:125: virtual void b2MouseJoint::InitVelocityConstraints(const b2SolverData&): Assertion `d + h * k > 1.19209289550781250000e-7F' failed.
Aborted
d + h * k is extremely vague, and I was hoping you guys could keep me from pulling my hair out. Can anyone decode this for me? I'm clueless as to what's wrong.