I have a mouse joint object(A) following my player, when I press a button it creates a distance joint between my hero's mouse joint object(A) and another object(B). I can then move the Object with my character. However when i try to remove the joint (between A and B) , I go "remove by object" and choose Object(B) but then it also kills the mouse joint on Object A. It just won't follow my character anymore... I am out of ideas -_-
In a nutshell, what I am doing :
I want Object(A) to follow my main character (working with Mouse Joint)
I want to create a Distance Joint Between Object(A) and (B) on buton HOLD (Working , Distance joint between the two objects)
I want to remove the Distance Joint Between Object (A) and (B) on button release. Problematic, the mouse joint does not follow my player anymore and I think it might still be there since my debugger is showing 1/128 joint instead of 2/128....)
So far everything works until it's time to remove the Distance joint...