how many frames per second does an animation play by default

the subject says it all !

if the animation speed is “1” how many animation frames will unity get through in precisely one second ?

20 ? 24 ? 30 ? 48 ? 50 ? 60 ?

how many ? precisely please !

by the amount defined in the animation I think which commonly is 24 / 30

what do you mean by animation the track object in unity ? ( how can i access and open that ?? ) or the maya binary ?!

There isn’t really a framerate as such for character animations. Two consecutive keyframes are separated by a certain amount of time, and you can interpolate the key values at any point between the keyframes. Modelling apps often use the concept of a frame, but it’s really just a convenient measure of time.

I have read many times here that Unity samples animations at 30 fps. when importing them, so if velocity = 1, full, it should mean it is at 30 fps. I build my animations at 30 fps and get a good result.

I’m not sure if this helps but I think it will answer the question.

Animations playback in Unity to what ever frame rate they have been set to when created in an external program. I.E. Blender, Maya, 3Ds Max, etc.

Blender is the one I use so here is a short and simple post that shows how to set FPS in the animation itself.

Once you have the animation FPS set (Blender default is 24 FPS) Unity will playback that animation using a float to timescale it.

Example using 24 FPS animation inside unity:

Unity default playback speed 1 = 24 FPS.
Unity cranked up speed 2 = 48FPS (double time).

For those of you that are new new new, if you dont have skills to use an animations program you can still work with what you have.

Open and read Unity - Manual: Animation States and notice the first variable “Playback Speed”. If the animations core file is set to 24 FPS for example all you need to do is adjust this using a calculator to get the desired FPS.

If you have no idea how to setup animations stored inside of your model for playback.
Start here: Unity - Manual: Animation tab and READ it. Follow the bread crumb trail until you are able to playback and adjust the speeds of your animations.

1 Like

Hi. What is considered a better approach:
Use 30 fps, and then if your game runs at 60 Unity will just be interpolating (and thus the animation will still look very smooth)

Or make animations at 60 fps knowing Unity will scale it down dynamically. BUT if the game drops to 30 fps, then don’t you risk dropped keyframes?

idk what everyone is talking about here about Unity forcing it to 30.
You can click on a animation and open the animation window and click the gear box at the top right and you can set the sample rate from 24 to 60.
My animation was set to 60 as default.

Read post date of those posts.

1 Like