• EditorBugs
  • Weird behavior regarding paths with constant speed

Weird behavior regarding paths with constant speed

Describe:

1) what you have tried
Moving two objects along a closed path with constant speed.

2) what you expected
I expect the objects to move fluently along the path.

3) what actually happened.
The first object on the path follows the path fluently, the second object jitters in a weird way, starting when it reaches the start of the path., from the start of the curve and forward

Give step-by-step instructions so we can reproduce the problem, if possible.

The path uses two curves, forming an ellipse
Path is closed with constant speed

A path constraint binds two bones to the path. The path constraint uses any spacing except proportional (which works as expected), but the problem does not occur with a small spacing. With percent it starts occuring at spacing above 50. Seems worst between 60 and 80.

Editor information

The problem occurs in setup pose as well as animations. Scrub the position of the circle constraint to see weird behavior or play the test animation.

weird-path.spine
855B

Tell us your Spine Editor version.

4.2.36

Let me know if you need further info.

    Related Discussions
    ...

    martinr Thank you for reporting the problem! I have confirmed that I can reproduce it. When I tried a similar rig in 4.2.00, there was some small jitter depending on the spacing value I set, but basically there was no more obvious problem than there is in 4.2.36, so I suspect this problem started somewhere in the 4.2 patch version. I will investigate this issue and create an issue ticket for a fix later.

    After testing with various versions and conditions, it appears that this problem can be reproduced with much earlier versions. Unfortunately, this seems to occur even if the Spacing type is Proportional, and the problem seems to occur when the spacing is wider than half the length of the target path. Based on the identified conditions, I have created the following issue to fix this problem:
    EsotericSoftware/spine-editor839

    Thank you for uncovering a long overlooked problem. We apologize for the inconvenience, but please wait until we have resolved this issue.

    You are welcome, an addition to the github issue is that as far as I have tested constant speed must be ticked on the path for the problem to occur.

      martinr You are right, I failed to mention that condition, so I have added a comment. Thanks!