playMaker

Author Topic: Swiping to control an animation.  (Read 552 times)

Splankton

  • Sr. Member
  • ****
  • Posts: 258
    • View Profile
Swiping to control an animation.
« on: December 22, 2014, 11:35:21 AM »
Hi, say if I wanted to use a swipe action to control an animation in mecanim, so if the swipe is normalized, 0 is the start of the animation and 1 would be the end.  Which action from the animator actions would I use?
I have to somehow use a float from the swipe, normalize it and at the same time use that to play the animation.
Any ideas or advice on how I can do this?