Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

hereditary scripting

Discussion in 'Scripting' started by scinortcele, Dec 10, 2006.

  1. scinortcele

    scinortcele

    Joined:
    Nov 30, 2006
    Posts:
    18
    I was wondering if/how it's possible to instantiate an object as a child of another object.

    I have an object "translating" itself at a steady velocity, and I need to be able to instantiate objects in a script which are children (so moving along with it) of the main object.
     
  2. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
  3. scinortcele

    scinortcele

    Joined:
    Nov 30, 2006
    Posts:
    18
    Thank you, works great.