Skip to content

Spine model twitching when using go.animate #156

Open
@mozok

Description

@mozok

Hi.
I have an issue moving object by using go.animate, if object contain children with spine (spineboy) and sprite (red aim) components.
spine-root

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:

  1. Create collection with root object.
  2. Add child object with Spine model to root object.
  3. Add child object with Sprite to root object.
  4. Use go.animate to move root object.

Expected result:
Spine model and Sprite moves simultaneously.

Actual result:
Spine model lags behind Sprite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions