Search Unity

Sprites and Animation, movement problem.

Discussion in 'Animation' started by TheCrownedPixel, Jun 2, 2020.

  1. TheCrownedPixel

    TheCrownedPixel

    Joined:
    Mar 13, 2015
    Posts:
    1
    Hi Unity People,

    Diving back into GameDev as a bit of a hobby. I have mostly avoided asking questions, but lack a few tools for animation as I have never done it before. I have a grasp on the system now. I am using Unity2D.

    Ok, so I setup my animation, and it works for the following perfectly:
    • Run
    • Jump
    • Idle
    I have an issue with my Idle_Shoot animation. When the animation is run, instead of the whole animation remaining still, and the gun moving (as I created in Aseprite), the whole sprite moves around, and the gun stays still.

    For the sprite sheet I used Full Rect, and set my own rectangles, rather than the automatic boxes (as this made that effect worse).


    Can anyone give me some tips on how to avoid this in the future.

    Thank you.