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

Resolved Different locations at the same transform location

Discussion in '2D' started by HermesTheBird, Jul 24, 2021.

  1. HermesTheBird

    HermesTheBird

    Joined:
    May 2, 2021
    Posts:
    7
    Hi.

    Some objects in my game has the same vertical location but appear in different places in game.

    Screenshot_2.png

    Screenshot_1.png
     
    Last edited: Jul 24, 2021
  2. Epsilon_Delta

    Epsilon_Delta

    Joined:
    Mar 14, 2018
    Posts:
    209
    Try to switch from center to pivot:
    upload_2021-7-24_21-52-59.png
     
    HermesTheBird likes this.
  3. HermesTheBird

    HermesTheBird

    Joined:
    May 2, 2021
    Posts:
    7
    Thanks for help! I solved it it was because i collected some of blocks in a empty gameobject called "Blocks" and forgot to check it's transform component (it had a 4 y position).