- Home /
Playables API - Can I set a speed of the clip ?
Hello guys!
May I ask you if there is a way of controlling the speed of AnimationClip or AnimationUtilityPlayable, since I myself am unable to or am I missing something?
I am including the assemblies
using UnityEngine.Animations; using UnityEngine.Playables;
and the code I use to play the animation is
AnimationPlayableUtilities.PlayClip (anim, clip, out pGraph);
However, I cannot seem to find a way of controlling the speed of clip
which is AnimationClip
or the pGraph
which is PlayableGraph
. I know there is a way of controlling the speed of the AnimatorController anim
, however that doesn't seem to make any difference to the animation, even set to 0 the animations plays at a normal 1 speed;
Any suggestions would be highly appreciated, thank you!
Your answer
![](https://koobas.hobune.stream/wayback/20220612150007im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How can I get animation state speed in code 1 Answer
Change the running AnimationState of an Animation 0 Answers
Playing animation in reverse plays it once only! 0 Answers
Mecanim - changing animation clip speed, through script? 4 Answers
Stop Animation State in Animator from Speeding Up after Playing it a Second Time? 0 Answers