playMaker

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

Splankton

  • Sr. Member
  • ****
  • Posts: 268
Swiping to control an animation.
« on: December 22, 2014, 01:35:21 PM »
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?