playMaker

Author Topic: Switching between animation clips on a single sprite  (Read 1276 times)

gregowich

  • Playmaker Newbie
  • *
  • Posts: 2
    • illusian
Switching between animation clips on a single sprite
« on: June 13, 2014, 07:37:43 AM »
Hi,

I'm working on a 2D project.

I have a sprite(bird) with 3 animation clips:
1. Flight: Bird flies into the scene and lands
2. Idle: Bird sits idle (This clip needs to start when "Flight" animation clip finishes.
3. Tap:  The bird moves its wings (I need this animation clip to start when the bird is tapped on(using: Devices/Touch Event), and go back to the "Idle" animation clip when the "Tap" animation finishes.)

At the moment, whatever I do in Animator or Playmaker FSM, when I run the gameplay, it runs all of the animation clips one after another, rather than waiting for a tap. But in the Console, when i tap on the bird, it is recognised.

What's the best way to go about this? What am I doing wrong?

Cheers!