Merge pull request #53819 from TokageItLab/re-implement-ping-pong

Reimplement ping-pong animation and reverse playback
This commit is contained in:
Rémi Verschelde
2021-11-09 22:11:04 +01:00
committed by GitHub
29 changed files with 1047 additions and 446 deletions
+1 -1
View File
@@ -5856,7 +5856,7 @@ void GLTFDocument::_import_animation(Ref<GLTFState> state, AnimationPlayer *ap,
animation->set_name(name);
if (anim->get_loop()) {
animation->set_loop(true);
animation->set_loop_mode(Animation::LOOP_LINEAR);
}
float length = 0.0;