playcanvas / playcanvas/engine

Anim START and STOP states get stuck with exitTime

Open
#2,365 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

area: animation
Dominant language
JavaScript
Stars
16.8k
Forks
2k
Avg merge
4h 32m
Merged PRs (30d)
222

Description

The START and STOP state graph states appear to get stuck if a transition specifies exitTime. For example:

transitions.push({
    from: 'START,
    to: 'some other state',
    exitTime: 1.0
});

will result in the animation never starting.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named in the issue. Reproduce the provided transition in the animation state graph, then trace the START and STOP transition handling for exitTime; done means transitions with exitTime no longer leave the animation stuck and the regression is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.