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. Dismiss Notice

2D pivot points made in Sprite Editor not working for some reason :/

Discussion in '2D' started by DocMoriarty, Mar 1, 2016.

  1. DocMoriarty

    DocMoriarty

    Joined:
    Mar 1, 2016
    Posts:
    1
    Hi everyone, I'm pretty new to both Unity and animating.

    Here's what I did:

    I created a 2D character in Photoshop in pieces so i can animate him using the Animation editor in Unity. So my character is comprised of a Head, Body, Eyes, Left and Right Upper and Lower Arms and Legs and Hands and feet and even fingers, all separated within the same animation sheet, so about 30 pieces spread out on a PNG sheet. Using the Sprite Editor in Unity, I was able to separate each piece and set Pivot Points for every piece of the character.

    Here's my problem:

    When animating my character in the Animation menu, all of the pivot points I created using the Sprite Editor are seemingly ignored. I've Parented the pieces together in a hierarchy hoping doing so would make my workflow easier. Ex: My upper arm is parented to my lower arm which is parented to my hand and each individual finger so if i rotate my upper arm to make a punch motion, each pivot point would be stationed and locked to make my life less of a nightmare. But for some reason, the pivot place is set in the middle of the entire parented mess.

    Is there a reason why the Pivot Points i made in the sprite editor are being ignored while they're parented?
    Is there something i'm doing incorrectly?

    To anybody who can help, thanks for your time!
     
    Last edited: Mar 2, 2016
  2. Kamikali

    Kamikali

    Joined:
    Jan 29, 2017
    Posts:
    1
    I have the same issue...
    Could you tell me how you fixed it? (if you were able to fix it)
     
  3. vakabaka

    vakabaka

    Joined:
    Jul 21, 2014
    Posts:
    1,153
    check the button "pivot<->center" (left from Play button)
     
    pyremonk and LiterallyJeff like this.
  4. picolla_zanzara

    picolla_zanzara

    Joined:
    May 10, 2022
    Posts:
    1
    Thanks, it works! I thought it was a bug or something.