Search Unity

Character becoming super tiny after preview/play

Discussion in '2D' started by gabrielleoffen, Oct 9, 2019.

  1. gabrielleoffen

    gabrielleoffen

    Joined:
    Oct 9, 2019
    Posts:
    3
    I've tried to find a solution but it doesn't work. I've used the sheet method to get it to animate. The background dimensions are 200x56 pixels and character 26x48 pixels so it should show up just like the first picture!
    I've circled the character in red, he literally becomes like a dot.
    Please help! :(
     

    Attached Files:

  2. gabrielleoffen

    gabrielleoffen

    Joined:
    Oct 9, 2019
    Posts:
    3
    I have tried these:

    Changing the pixels per unit
    Changing max size
    Making sure static box is unchecked
    Making a completely new GameObject and only adding the sprite renderer/animation options
     
  3. MisterSkitz

    MisterSkitz

    Joined:
    Sep 2, 2015
    Posts:
    519
    You need to set your Character-animation to the same Transform.position as the animation-New. Looks to me they have two different transform.positions. The localScale changes from 1 to -1, which should only flip the player's direction, not make it smaller, if I'm not mistaking. That's why I believe that if you fix the transform.position and get all animations on the same axis coords, this should be fixed.
     
  4. gabrielleoffen

    gabrielleoffen

    Joined:
    Oct 9, 2019
    Posts:
    3
    Hello

    Thank you for the suggestion but it doesn't seem to work :(
     
  5. MisterSkitz

    MisterSkitz

    Joined:
    Sep 2, 2015
    Posts:
    519
    Is either of your animations stored on an empty game object by chance? How exactly are you referencing your animations?