playMaker

Author Topic: Shifting time in an animtion  (Read 2050 times)

kinetiknz

  • Junior Playmaker
  • **
  • Posts: 85
Shifting time in an animtion
« on: May 03, 2012, 11:21:12 PM »
Hey there, I am about to have a go at creating a function that allows a user to press a fastforward button and rewind button. A camera is animated (inside Unity) and I'd like the buttons to shift forward a few seconds or so. I was thinking maybe animation events (unity's) could be useful, or maybe storing the current time and doing the math and changing the time, but ifs that even possible with PM??

Thanks for any suggestions

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Shifting time in an animtion
« Reply #1 on: May 04, 2012, 08:45:47 PM »
You should be able to use some math and Set Animation Time for this.

Though, taking a quick look at it, you might need some new actions (maybe Get Animation Time, Get Animation Length). But maybe you can use Get Property for those...

If not, let me know and I can make those actions :)