animation speed -1 don't work

Hi,

i used

function Update () { this.animation.Play("animaCubo"); this.animation["animaCubo"].speed = -1; }

But animation don't back, the mesh stay stop. what am I doing wrong?

To play an animation backwards, you also have to set the time from the end of the animation(rather than the beginning), try this:

animation["animaCubo"].speed = -1;
animation["animaCubo"].time = animation["animaCubo"].length;
animation.Play("animaCubo");

Place all animation overrides in LateUpdate as opposed to Update.