Merge pull request #53819 from TokageItLab/re-implement-ping-pong
Reimplement ping-pong animation and reverse playback
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user