I have an object that when it collide create a joint between itself and the other object. To set the anchorpoints I use the localpoints from the contact, localpoint1 for body1 etc. This works fine with circles but when it collides with boxes it seems as if the anchorpoints get switched.
If I use localpoint2 for body1 however, boxes work fine but circles get the problem instead.
Here's a picture that might help:

Blue is the joint and red symbolizes the anchorpoints. The bottom example is how it should be in all cases..
This is in 2.0.0 by the way.