+3 votes

The question is self explanatory.
I've searched in the AnimationPlayer's inspector and panel, the editor settings, the project settings and I didn't find nothing to change this option. This is quite needed for me, since I make the animations in Blender using the frames as reference.
Using the last release (2.1 stable).
Thanks. ;)

in Engine by (21 points)
edited by

1 Answer

+1 vote

You can cheat a bit to get what you want ;-)

You just have to convert frames into seconds : time = frame/FPS
However, the frame duration are not fixed by default. You have to set the "Process Mode" of the animation to "Fixed" (from the inspector or via set_animation_process_mode(ANIMATION_PROCESS_FIXED) )

It means that the animation will play at the same FPS than the Physics of the game. You can find this value in the project settings/Physics/fixed_fps or Globals.get("physics/fixed_fps")

by (288 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.