Keyframe seconds doesnt fit the animation

Blender Asked by Tuqax on January 4, 2022

Fit problem

I have a running animation. I exported it from a very old game, but I have an issue with the animation. The markers don’t fit the second. For this reason the animation is shaking little bit.

Can somebody help me?

One Answer

Snap keyframes to frames

Imported animation seems to be scaled down in time, three keyframes in frame is not usual. So original was probably designed for higher FPS (frame per second).

First you need to scale keyframes up, but by default blender use Snap to Nearest Frame, that cause in your case deleting (merging) all keyframes in between frames.

enter image description here

To avoid that, change to No Auto-Snap

enter image description here

In Pose mode select all bones. Go to Dope Sheet, select all keyframes and scale S them up with Current frame at zero, in your case scale to 3.482 seems to fit most of the keyframes on frame position. (Hard to say why they are not set precisely.)

enter image description here

Now you can switch Snap to Nearest Frame back and with all selected press G to move, but you dont really want to move, just move a bit so keyframes jump on frame positions and hit enter. Now you should have all keyframes aligned to frames.

enter image description here

Run cycle duration 0.76666s

Your import in length of 19 frames fits approximately to 25 fps. If you want to scale keyframes to fit frames you would have to increase FPS (frame per second).

Scaling keyframes per frame gives 65 frames with first keyframe on frame 1 (that is common start for blender). Last keyframe generates jump in motion, so I delete them. Since you know you have like 64 frames that should takes 0.766666s you should change fps to (64/76.6666%*100%) 84 fps. I dont know if there are some standards for game cycles, but I expected 60 or 120 so it is a bit weird.

enter image description here

BTW I don't have any shake even with your blend. So if you are OK to keep 24 fps with just 19 frames that with merged all keyframes in between - just select all bones in pose mode and press G to move a bit with mouse over Dope Sheet and release, keyframes jumps to frame position.

enter image description here

Answered by vklidu on January 4, 2022

Add your own answers!

Related Questions

Transparent menus

0  Asked on February 7, 2021 by derek-francis


Plank texture in mesh

1  Asked on February 6, 2021 by sigmundr


Mixamo Animation Doesn’t Play

0  Asked on February 5, 2021 by blenderartist


bpy.ops.fluid.bake_all() always overwrites

0  Asked on February 5, 2021 by s-dre-works


Why am I getting pinching on my mesh?

2  Asked on February 5, 2021 by tin-vojnovic


3D Cursor Rotation?

2  Asked on February 3, 2021


Edit a rigged mesh in pose position?

1  Asked on February 3, 2021 by 360ueck


How do I make my armature visible through my mesh

1  Asked on February 3, 2021 by alex-sandoval


Actions with multple objects, and general animations

0  Asked on February 3, 2021 by david-brouwer


Deformed Cloth Simulation

1  Asked on February 3, 2021 by blenderinho


Slow sculpting on high density meshes

4  Asked on February 2, 2021 by user69248


2d animation export only keyframes

1  Asked on February 2, 2021 by rokas


Why is the shader editor stuck on 1 material?

1  Asked on February 2, 2021 by michu-mich


Optimal way to fill terrain between roads

1  Asked on February 1, 2021 by kardosrobertkh


Weird Object Shape in Solid Mode

1  Asked on February 1, 2021 by h-farid


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir