extension-spine
extension-spine copied to clipboard
Spine model twitching when using go.animate
Hi.
I have an issue moving object by using go.animate, if object contain children with spine (spineboy) and sprite (red aim) components.
If I move root object It looks like spine model is lag behind in frame or two (first video).
https://github.com/defold/extension-spine/assets/3275098/05eaa1ba-397b-4112-9496-c988ffb95f29
Second video - I've focused camera on root object. One can see how model twitch left, while aim sprite remains in place.
https://github.com/defold/extension-spine/assets/3275098/ca186268-7225-43ef-9b6c-73abdb79518f
Move is just a simple:
go.animate(".", "position", go.PLAYBACK_ONCE_FORWARD, pos, go.EASING_LINEAR, 0.12)
Attaching test project archive. There I've also tried to animate using update and dt. All is ok in that case. spine-animation.zip
Versions: Defold 1.6.2. Spine-extension 2.13.0. Spine model from official example https://github.com/defold/examples/tree/master/assets/spineboy
Steps to reproduce:
- Create collection with root object.
- Add child object with Spine model to root object.
- Add child object with Sprite to root object.
- Use
go.animate
to move root object.
Expected result: Spine model and Sprite moves simultaneously.
Actual result: Spine model lags behind Sprite.
Same issue remains with Defold 1.7.0 and Spine 2.14.5