Has anyone ported b2RopeJoint to the main flash port?
I see that the Alchemy port has it, but it seems like a big job to port my project over just for that - plus, with the new licensing terms I'd prefer to avoid using native code where possible.
Ah, brilliant, thanks a million.
further update: setting fixedRotation = false on the connected bodies solves the problem.
/edit make that "reduces but does not solve" the problem
So I have been trying to replicate the error by modifying my test environment for the b2RopeJoint by adding in some dynamic and static boxes to try and wedge the rope. I also added in another b2RopeJoint next to the original one. While they do get caught on some boxes, I haven't experienced the #1502 error (except if I randomly spawn a box inside another box). I also set the fixedRotation to true to see if that helped trigger the Error.
Is there anyway you can send me a file that can replicate the problem?
Also, what happens if you replace the b2RopeJoint with a b2DistanceJoint?
I also had another look over the ported code but couldn't see anything obviously wrong. The way I ported it in the first place was to look at the difference between the C++ b2RopeJoint and the C++ b2DistanceJoint as they are already very similar. Then, I could figure out what differences needed to be applied to the b2DistanceJoint of AS3 2.1a to turn it into a b2RopeJoint.
There is a chance there were other changes to the Box2D engine when the b2RopeJoint was introduced that could account for it, or, there could be some bugs still in the Box2DAS3 port.
Would be the best if the b2ropejoint.as and b2ropejointdef.as were for Box2d 1.01 because that is the version I have worked with for my entire project.