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

Animation sheet actions + Rotation

Discussion in 'Animation' started by WowThatsRadDev, May 29, 2016.

  1. WowThatsRadDev

    WowThatsRadDev

    Joined:
    Jul 9, 2015
    Posts:
    9
    I'm somewhat new to animations.

    Here's what I need. A 2D character to start a roll animation by bending over and then curling in a ball and rolling. I have the animation created by selecting all the sprites. Then I Animator.SetBool() to begin the animation when it's supposed to. What I need next is to stop the animation on the last sprite frame in the tucked ball, and THEN rotate that sprite in a circle as if he's rolling.

    Any ideas or tips to get this done or the correct documentation? I found some things that handle each step.. but not sure about piecing it all together.

    Thanks, all!
     
  2. WowThatsRadDev

    WowThatsRadDev

    Joined:
    Jul 9, 2015
    Posts:
    9
    Is this really a hard subject or am I missing something?
     
  3. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    I'm sure there is a way to do what you want - though I don't know it -
    A solution that seems obvious to my limited 2D experienced mind is to include (however many frames you want) the ball rolling sprites in the atlas?
    Just duplicate the ball and rotate it in 2D app, and make these part of the atlas.