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

The question about parent of GameObject, please help me.

Discussion in 'Scripting' started by northman, Sep 6, 2008.

  1. northman

    northman

    Joined:
    Feb 28, 2008
    Posts:
    144
    Hello.

    I want to know how use the script make a GameObject be child with other GameObject, make parent relationship.

    And How to break the parent relationship between two GameObject?

    Now, I'm already can make both GameObject be parent relationship, when I let one of them AddComponent Rigidbody, I find the other GameObject (the child) didn't act which parent (the father object have physics ability). Why and how ?

    Thank you a lot of.
    :oops:
     
  2. northman

    northman

    Joined:
    Feb 28, 2008
    Posts:
    144
    This problem was solved.