# When glTF export in Blender2.8, an animation is not played well

When glTF export in Blender2.8, the parameter of the rotary animation of the glTF file turns into the expansion and contraction.

1. I make the animation which turned a simple early cube.This does 1 rotation in the y-axis.

1. glTF exports in this parameter

1. A cube does not rotation when I confirm animation of glTF in this glTF viewer and expands and contracts.

glTF viwer

This thinks that an export sentence of blender has a problem, will there be the solution? The movement and the scale succeeded. Only a rotation becomes strange.

This should be fixed in the next version of Blender's glTF exporter, where the default value for Always sample animations has been changed to true (in #706). I believe putting a checkmark on this option may be a quick fix for your problem.
The usual solution is to place intermediate keyframes at 90 degree increments (or no larger than 120 degree increments). One way to do this is just check Always sample animations which makes every frame a keyframe.
• Thank you for an answer ! I understood a cause and felt fine. But,When I turn Always sample animations on and export, an animation of glTF is not played. Is there a place to set other than this? – mine Oct 25 '19 at 4:07