mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-05 06:44:56 +08:00
[libgdx] Fixed translate timelines.
This commit is contained in:
parent
f05a1524cd
commit
6a5d054726
@ -649,8 +649,8 @@ public class Animation {
|
||||
break;
|
||||
case first:
|
||||
case replace:
|
||||
pose.x = x;
|
||||
pose.y = y;
|
||||
pose.x += (setup.x + x - pose.x) * alpha;
|
||||
pose.y += (setup.y + y - pose.y) * alpha;
|
||||
break;
|
||||
case add:
|
||||
pose.x += x * alpha;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user