I have animation how to play animation as slow motion or decrees the speed of the animation.I want to decrees the animation speed to half the normal speed the animation is playing.I am using c#
1 Answer
1Use the animation states. You can access your animation with:
AnimationState anim = myGameObject.animation["MyAnimationName"];
then you can modify the animation’s properties, including play speed and weigth.
Or you can just do it directly with animation["MyAnimationName"].speed = whateverSpeed; Be aware that negative speed (-x) will result in the animation playing backwards.
– asafsitner