Unity Issue Tracker - DistanceJoint2D distance value does not update GameObjects positions when the value is changed through the script
Closed
UUM-63697
DistanceJoint2D distance value does not update GameObjects positions when the value is changed through the script
Unity: 2D
Won't Fix
2023.3.X
2023.2.X
2022.3.X
2021.3.X
Setting this issue back to closed status as it has been addressed previously
Reproduction steps:
1. Open the attached “Distance2Djoint.zip” project
2. Open the “SampleScene”
3. Select “A” GameObject
4. In the Inspector find the “Distance Joint 2D” Component and “Distance” property
5. Enter the Play mode
6. Press Right and Left arrow buttons on the keyboard in the Game view
7. Observe the “Distance” property in the Inspector and GameObjects in the Game view
Expected result: Distance value in the Inspector changes and GameObjects are moving
Actual result: Distance value in the Inspector changes, but GameObjects are not moving