mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #110982 from TokageItLab/fix-rm-animtree-bw
Fix backward/pingpong root motion in AnimationTree
This commit is contained in:
commit
1cab5e1b1c
1 changed files with 1 additions and 1 deletions
|
@ -268,7 +268,7 @@ AnimationNode::NodeTimeInfo AnimationNodeAnimation::_process(const AnimationMixe
|
|||
AnimationMixer::PlaybackInfo pi = p_playback_info;
|
||||
pi.start = 0.0;
|
||||
pi.end = cur_len;
|
||||
if (play_mode == PLAY_MODE_FORWARD) {
|
||||
if (node_backward ? cur_backward : !cur_backward) {
|
||||
pi.time = cur_playback_time;
|
||||
pi.delta = cur_delta;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue