Animator.Speed can't be negative Unity5 (RecorderMode)

Hello,

I’m encountering an issue with Animator.speed. In Unity5, it can no longer be negative. It gives me the warning:

animator.speed can only be negative when Animator recorder is enabled. Animator.recorderMode != AnimatorRecorderMode.Offline

The problem is I can’t set the AnimatorRecorderMode. It’s a read only property.

Any ideas?

Ignore this…

Unity in 5.1 removed the ability to add negative numbers unless you’re recording at run time… Useless…

any work around for it?
Means if I am making a comic or some animations that need to be placed in reverse direction as well as in forward, then I have to create two animations ? one for forward and one for reverse? :confused:
What is this

Yup. Sucks. Still can’t go negative.

hmmm ok @SubZeroGaming_1 :frowning:

oh wait, sorry…yes you can now…the new mechanim system has a parameter. You can change the value of that perimeter to be negative. Example: set up a speed perimeter. Have the animation follow that perimeter, and in code, set the perimeter value to negative.

more info: Backward animation in Mecanim - Questions & Answers - Unity Discussions

2 Likes