Search Unity

Object has different 0,0,0 than children

Discussion in 'Editor & General Support' started by dopeofdoom, Jan 14, 2021.

  1. dopeofdoom

    dopeofdoom

    Joined:
    Nov 19, 2020
    Posts:
    3
    So I have an Empty Object called Player and I put it at 0, 0, 0 in the scene. It has a child called Body that I also put at 0, 0, 0. The pivot on the body is at the center of the sprite but the player pivot is somewhere other than 0, 0, 0. Any explanation on how to fix this?
     
  2. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,909
    In the sprite asset import settings you can set where the pivot point is:
    upload_2021-1-14_16-56-8.png
     
  3. dopeofdoom

    dopeofdoom

    Joined:
    Nov 19, 2020
    Posts:
    3
    Figured it out. I just had to change from center to pivot at the top left under window and component.
     
  4. dopeofdoom

    dopeofdoom

    Joined:
    Nov 19, 2020
    Posts:
    3
    It was the empty object that had the pivot problem, not the sprite children.