playcanvas / playcanvas/engine

Blending from existing pose when transitioning from an Anim state with an empty track

Open
#5,237 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Related to #5112

https://user-images.githubusercontent.com/16639049/231456883-77b5d137-4d01-4a42-b7b9-7fb25f9e9931.mp4

This is transitioning between idle and punch when holding down P. When going from punch (empty track) to idle, the pose jumps immediately to start of the idle anim track.

Is it possible to blend from the existing pose? Or is this not possible because the transition blending works between tracks, not the current state of the pose?

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

Start by reproducing the idle-to-punch transition shown in the linked video, especially the return from punch with an empty track to idle while holding P. Read related issue #5112 and trace the animation transition behavior; done means the pose no longer jumps immediately to the start of the idle track when blending from an existing pose.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.