playMaker

Author Topic: Reverse animation in Mecanim?  (Read 5942 times)

Splankton

  • Sr. Member
  • ****
  • Posts: 258
    • View Profile
Reverse animation in Mecanim?
« on: August 02, 2014, 11:21:07 AM »
Hi, Is there a way to reverse a clip animation in Mecanim? I know using Legacy, you use a negative number, but I'd prefer mecanim if its possible.
Thanks for any help.

KellyRay

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Reverse animation in Mecanim?
« Reply #1 on: August 02, 2014, 12:22:19 PM »
Is it possible to set the animation speed to -1? I've never tried it here. Im just guessing.

Red

  • Hero Member
  • *****
  • Posts: 563
    • View Profile
Re: Reverse animation in Mecanim?
« Reply #2 on: August 03, 2014, 10:34:05 AM »
Just working with a proxy object (since I'm hashing out some animation stuffs myself) I tried it and it seems it will take a -1 value in the speed of the mecanim animation system... And it did play in reverse.

That said I have no idea if this is wise or if the computer particularly likes handling it... But it does seem to be able to.

Splankton

  • Sr. Member
  • ****
  • Posts: 258
    • View Profile
Re: Reverse animation in Mecanim?
« Reply #3 on: August 03, 2014, 10:38:08 AM »
Yes, thanks both for the help ;)

amit

  • Playmaker Newbie
  • *
  • Posts: 6
    • View Profile
Re: Reverse animation in Mecanim?
« Reply #4 on: November 26, 2014, 02:43:39 AM »
I am looking for something like this too. Now it works using set animator speed action however how do you reset the speed so you can continue playing?


Splankton

  • Sr. Member
  • ****
  • Posts: 258
    • View Profile
Re: Reverse animation in Mecanim?
« Reply #5 on: November 26, 2014, 08:43:19 AM »
I am looking for something like this too. Now it works using set animator speed action however how do you reset the speed so you can continue playing?

Just set the animator speed back to 1

amit

  • Playmaker Newbie
  • *
  • Posts: 6
    • View Profile
Re: Reverse animation in Mecanim?
« Reply #6 on: November 27, 2014, 03:23:52 AM »
Have you tried animator recording to go back and forth in the animator for longer frames?

rik

  • Full Member
  • ***
  • Posts: 247
    • View Profile
Re: Reverse animation in Mecanim?
« Reply #7 on: February 24, 2015, 05:30:12 PM »
Hi i want to loop the animation from reverse to normal and reverse again

rik

  • Full Member
  • ***
  • Posts: 247
    • View Profile
Re: Reverse animation in Mecanim?
« Reply #8 on: February 24, 2015, 05:30:48 PM »
when i reverse the animation it will work for once and it will freeze

KellyRay

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Reverse animation in Mecanim?
« Reply #9 on: March 17, 2015, 06:28:52 AM »
Have you set the animation to loop the pose?