- Home /
Slow fps of imported animation (maya)
hi I have created a character in maya and animated for various poses in a single file. now after importing the file in unity and after baking its animation, i realized that some of the animations are just too fast for the game. So I wanted to ask u guys that if there is any way to slow down (change fps) some particular animations using fbx importer > split animations, or any other way ?
Answer by BiG · May 23, 2012 at 10:20 AM
Maybe the easiest way, from Unity, is using animation.speed.
From the Script Reference:
// Make all animations in this character play at half speed
for (var state : AnimationState in animation) {
state.speed = 0.5;
}
this one is for all animations, i want to slow down some/selected animations.
That's just an example. The key point is in the use of the speed parameter: if you have an animation called "running", do running.speed = 0.5.
Your answer
![](https://koobas.hobune.stream/wayback/20220613071829im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Animations not appearing in the inspector. 1 Answer
When I import files from Maya they are "invisible" 2 Answers
Multiple Animated Objects Maya 0 Answers