Say I have a TrackEntry
with some keyframes loaded in it. In order to play it I need to call AnimationState.update(dt)
.
However is there a way to control the playback by mixing manually between frames? For example pass a normalised value 0.5
somehow that will give me the exact middle frame of the TrackEntry
?
We are integrating Spine in our engine and need to synchronise its animation playback with our custom tweening libraries. For example I want to move my animated character in world space from X0 to X1 using our custom tween lib, while playing the Spine animation in local space. In order to keep these two animations in sync, I would like the tween to control the Spine playback.
Is this possible? Or is there a cleaner way that I am failing to see? Thanks in advance!