Hi, am changing the DistanceJoint2D’s distance attribute through script. However, the effect isn’t seen in the game. I can see the change in value of the DistanceJoint2D’s distance attribute in the inspector, but not in the game. When I manually input the distance value in the inspector everything works. Any ideas on why this is happening?
Joints haven’t changed in long time so not sure why you’d get this. Are you absolutely sure your script is referring to the same joint? Beyond that I would suggest submitting a bug report with a simple reproduction case and send me the case number.