mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-22 10:16:01 +08:00
Fixed mixing two animations using different time scales.
This commit is contained in:
parent
52a4114d7a
commit
2c5db07f07
@ -62,7 +62,7 @@ public class AnimationState {
|
||||
float trackDelta = delta * current.timeScale;
|
||||
current.time += trackDelta;
|
||||
if (current.previous != null) {
|
||||
current.previous.time += trackDelta;
|
||||
current.previous.time += delta * current.previous.timeScale;
|
||||
current.mixTime += trackDelta;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user