Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anim Blend Tree 1D weights issue #6218

Open
LeXXik opened this issue Apr 3, 2024 · 0 comments
Open

Anim Blend Tree 1D weights issue #6218

LeXXik opened this issue Apr 3, 2024 · 0 comments
Labels
area: animation Animation related issue bug

Comments

@LeXXik
Copy link
Contributor

LeXXik commented Apr 3, 2024

Followup on #6211

Given the path

Level1.Level2.Dance

During the weights calculation loop in Anim Blend Tree 1D, the leaf node (Dance) would take the full weight (1), which would make its parent (Level2) have a zero weight.

image

On screenshot:
c1 = Dance
c2 = Level2

This sets the parent weight to zero, which breaks the animation.

image

If the weight is hardcoded to always return 1, then the animation is played correctly:
image

Repro:
https://playcanvas.com/project/1205544/overview/blend-tree-forked

@mvaligursky mvaligursky added bug area: animation Animation related issue labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: animation Animation related issue bug
Projects
None yet
Development

No branches or pull requests

2 participants