playMaker

Author Topic: Set animation time action not working[SOLVED]  (Read 970 times)

uilk

  • Playmaker Newbie
  • *
  • Posts: 16
Set animation time action not working[SOLVED]
« on: February 01, 2020, 03:13:31 PM »
Hi,

I'm trying to randomly stagger the starting times of a set of objects with the same animation on each. Each object has both an animator and animation component attached to it but when I try to use "set animation time" action to override the starting time nothing happens. I also tried using "set animator playback time" (and starting the animation playback beforehand) but no dice.

« Last Edit: February 20, 2020, 04:52:43 AM by jeanfabre »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Set animation time action not working
« Reply #1 on: February 01, 2020, 10:24:38 PM »
Hi.
on the Action Animator play, there is a parameter called Normalized time, you can use that to start playing from a certain position in the animation.

its a value between 0 (start of the animation) and 1 (end of the animation)

uilk

  • Playmaker Newbie
  • *
  • Posts: 16
Re: Set animation time action not working
« Reply #2 on: February 02, 2020, 01:18:12 AM »
Thank you djay, this works.