I cannot create a mouseJoint at all in C++, my line of code is as follows.
This however gives me this error:
Well there is no CreateMouseJoint instead of the CreateJoint, so how do I get past this part anyone?
Code:
myMouse.mouseJoint = myWorld.world->CreateJoint(&myMouse.mouseJointDef);
This however gives me this error:
Code:
error C2440: '=' : cannot convert from 'b2Joint *' to 'b2MouseJoint *'
Well there is no CreateMouseJoint instead of the CreateJoint, so how do I get past this part anyone?