AnimationTree does not respect AnimationPlayer's speed_scale or the AnimationClip's update mode

Aperta
#1,551 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp, godot
Ambito
game-dev

Direzione di ricerca

Start by opening the linked reproduction project and following the AnimationTree and AnimationPlayer setup in link.tscn. Compare how the tree evaluates animation speed and the clips' update mode while inspecting the BlendSpace1D points. Done means the blend respects the player's speed_scale and applies the clips' update mode as expected.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug topic:animation
Tested versions

v26.3.rc.3.official [ccb92435b]

System information

Operating System: Debian GNU/Linux 13 KDE Plasma Version: 6.3.6 KDE Frameworks Version: 6.13.0 Qt Version: 6.8.2 Kernel Version: 6.12.107+deb13-amd64 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics Memory: 16 GiB of RAM (15.0 GiB usable) Graphics Processor: AMD Radeon Graphics Product Name: B550M-ITX/ac

Issue description

I am trying to make a blend between walking left and walking right with 5 states..
walk-left-fast
walk-left-slow
default
walk-right-slow
walk-right-fast

The issue is blending does not work with animation keyframes at different periods of time.
So I tried to get around this by using the animation player's speed_scale.

I also tried to get around using duplicate parameters by blending between them in a blendspace1d
but the issue here is I set the xscale in the left and right ones and It doesn't respect I walk a continuation blend between the animations but I want a instant blend for the sprite's xscale which is set in the animation clips' and the animation tree ignores them.

Steps to reproduce
  • Download project
  • Open link.tscn
  • Select the animation Tree
  • Open the animation tree editor
  • Open the walk-blend AnimationNodeBlendSpace1D
  • Use the set blending position to inspect the blend points.
Minimal reproduction project (MRP)

z2-edit.zip

Lingua principale
C++
Stelle
6.1k
Fork
337
Merge medio
5g 8h
PR unite (30g)
13

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Redot-Engine/redot-engine

Tutte le issue di Redot-Engine/redot-engine

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.