Description
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).
2024-01-08.15-42-33.mp4
Second video - I've focused camera on root object. One can see how model twitch left, while aim sprite remains in place.
2024-01-08.15-42-50.mp4
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.