Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

realtime physics

Discussion in 'Scripting' started by vahab2, Dec 20, 2009.

  1. vahab2

    vahab2

    Joined:
    Nov 12, 2009
    Posts:
    11
    how can i make a physical object and spring joint by other object at realtime?


    sorry for English!
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    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.