Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Changeing the pivot point of a spriteSheet slice in the Sprite Editor

Discussion in '2D' started by tami4, Jun 30, 2015.

  1. tami4

    tami4

    Joined:
    Jun 23, 2015
    Posts:
    5
    after i change the pivot it is saved only in the Sprite Editor. when I Add it to the scene the pivot are in the center again. how can i keep them in the place i need?
     
  2. PGJ

    PGJ

    Joined:
    Jan 21, 2014
    Posts:
    899
    Is this in the editor? Are you sure you haven't rotate around center enabled (the button at the top/left)?
     
  3. tami4

    tami4

    Joined:
    Jun 23, 2015
    Posts:
    5
    i changed the pivot in the editor.
    • imported a png file with separated body parts.
    • in the sprite editor - I sliced the file and then i changed the pivot to where i wanted and it did change .
    • i closed the window after pressing apply
    • i dragged the parts to the Hierarchy window from the project window
    • but in the scene the pivot returned to the center.....
     
  4. PGJ

    PGJ

    Joined:
    Jan 21, 2014
    Posts:
    899
    Just to make sure we're not at a cross purpose; I mean the button that toggles how things are rotated. I'll include a screenshot...
     
    Last edited: Jul 1, 2015
    catonice and theANMATOR2b like this.
  5. tami4

    tami4

    Joined:
    Jun 23, 2015
    Posts:
    5
    thank you very much!
    that was the problem...
     
  6. jay-jin

    jay-jin

    Joined:
    Jun 22, 2014
    Posts:
    12
    thank you very much!
    that was the problem...
     
  7. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    Wow @PGJ two fixes with one image post. Maybe you should do that more often than all those lines of code you post up. ;)
    I give @medhue a hard time every once in a while because he has helped several people using the same image over and over again. Two on the same day with totally different problems. :)
     
    PGJ likes this.