Skip to content

v2.0.4: Actor jitters while walking toward mouse click target #1656

Description

@nighca

Problem

In the project below, clicking on the stage controls the calf to walk toward the clicked position. With spx v2.0.4, the calf can suddenly jitter / jump during movement. The issue is intermittent, but it can usually be reproduced by clicking multiple times and letting the calf walk several times.

Project: https://goplus-builder.qiniu.io/project/nighca/niu-run

Reproduction

  1. Open the project: https://goplus-builder.qiniu.io/project/nighca/niu-run
  2. Run the project.
  3. Click different positions on the stage to make the calf walk toward the clicked position.
  4. Repeat a few times.

Actual behavior

While the calf is walking, its position may briefly jitter / jump unexpectedly.

Expected behavior

The calf should move smoothly toward the clicked position without sudden position jitter.

Version notes

This is reproducible with spx v2.0.4. The same project does not show this behavior with spx v2.0.3.

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