playMaker

Author Topic: Animation control through slider  (Read 2521 times)

SirGatlin

  • Playmaker Newbie
  • *
  • Posts: 17
Animation control through slider
« on: January 25, 2015, 09:43:05 PM »
Hey guys, I am currently working on a project where I have a character playing a mocapped animation, and I am wanting a scrub bar for the animation, as if it was a video, I want to be able to scrub a slider back and forth and control the animation of the character.
I am using ngui for my slider and I have figured out how to use the "Get Animator Current State Info" animator action, so that the slider will move like a progress bar for the animation using the Length variable. But I can't seem to find how to make the reverse happen, where if I move the slider it will scrub through the animation of the character.
I am kind of stumped and cant seem to find any answers online to help with the topic.

Thanks,
-g