Ping Pong Unity Animation (with Animator)

When you want to ping-pong your animation in Unity 3D...

1) Duplicate the state in animator

2) Create transitions from one to another


3) Set the Speed of the second state to -1



4) With the transition arrow selected, set Exit time to 1 and Transition Duration to 0

DONE!


Comments

  1. I did the same thing... but I thought there was a better way, so I looked it up on the internet and found your tip here, so I was sure I was right! Thanks

    ReplyDelete

Post a Comment