Fixed animation.

The case Animation.ANIMATIONTYPE_VECTOR3 was doing nothing.