reimplement ping-pong

This commit is contained in:
Silc 'Tokage' Renew 2021-10-15 22:25:00 +09:00
parent af80bc8abe
commit 953a7bce7e
29 changed files with 1047 additions and 446 deletions

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;