Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Order in hierarchy - how?

Discussion in 'Editor & General Support' started by DrMrkev, Jan 19, 2016.

  1. DrMrkev

    DrMrkev

    Joined:
    Oct 25, 2015
    Posts:
    19
    Hello everyone, i make a game where you play as the ball and collects the cubes. cubes are on the scene much (like a wall). I want to be in the hierarchy clean, so I'll always empty object and we surely do as a parent to all cubes.earlier it worked. Cubes have a simple script to rotate but the parent does not rotate, this causing ugly deformacion. while parent rotating, cubes rotate around it.
    The question is: how can I have a hierarchy clean and did not set the cubes to parent.
    In different words: How can I have a clear hierarchy and did not set the dice parent.
    something like folder / category similar to folders in asstets.
    ps. sorry for bad English, I am Czech. :)
     
  2. fffMalzbier

    fffMalzbier

    Joined:
    Jun 14, 2011
    Posts:
    3,276
    If you are using game objects for sorting make sure that they are at coordinate 0,0,0 and no rotation and no scaling.
    Then you should not get any problem with deformation.
     
    DrMrkev likes this.
  3. DrMrkev

    DrMrkev

    Joined:
    Oct 25, 2015
    Posts:
    19
    It is work good, thanks for help :D