realtime physics

how can i make a physical object and spring joint by other object at realtime?

sorry for English!

You would add the corresponding components through scripting.

The alternative is adding predefined objects (called prefab in unity) to the scene at realtime which are completely setup as you require them.