I created an object that adds a configurable joint to itself on run time and sets its connected body to another object in the scene. The other object is supposed to be affected by gravity and as it is falling, it is supposed to pull the object with the joint. Sounds simple and works when I do the exact same thing in the editor! Is there any difference between creating a joint at run time using scripts and creating one with the editor?
Difference between creating Configurable Joint in code and creating the same type of Joint in script
There should be no difference as far as I'm aware, except one - when you create the joint via code, you need to make sure you assign the connected body last of all (after setting all the other joint settings) otherwise you will get erratic results.
Think of assigning the connected body as an "Apply" button!