muye12 例如一个动画 1s,第一帧设置个0.03,就是spine动画播放的位置,如果我加入了timescale=0.5,时间位置是否就是0.015的位置吗?
For example, if an animation is 1s, the first frame is set to 0.03, which is the position of the spine animation to play.
Note that the very first frame is at time 0.0, the second frame is at 1/30 (roughly 0.03) if your animation was created at 30 FPS. If your animation goes from 0.0 seconds to 1.0 second, it would have 31 frames at 30 FPS.
If you set trackEntry.TimeScale
or AnimationState.TimeScale
to 0.5, it's still the same 1/30 for the second frame, only the added delta-time is multiplied with the TimeScale. Setting trackEntry.TrackTime
is not affected by TimeScale (see the documentation here).