Skip to content

Pingpong loop animations in AnimationTree looping as if they were Linear #111737

@ithiro

Description

@ithiro

Tested versions

Opening the project in Godot 4.5 resolves the issue, so it was something specific from 4.5 -> 4.5.1.

System information

Godot v4.5.1.stable - Windows 10 (build 19045) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 (NVIDIA; 32.0.15.8142) - AMD Ryzen 5 5600X 6-Core Processor (12 threads) - 15.94 GiB memory

Issue description

Animations in AnimationTrees, specifically in BlendTree nodes and connected to Linear-loop Animations through Blend2 nodes, even if the blends are set to zero, loop as if they were linear.

Steps to reproduce

  1. Import an animated .glb 3D model from an external program like Blender to a project, instantiate a scene from it;
  2. Add an AnimationTree to it, and add a BlendTree Node to it;
  3. Inside the BlendTree node, add two animations, one set to linear loop, and another set to pingpong loop (as set on Import settings), and connect the two with a Blend2 node;
  4. See that even if the Blend2 blend is set to zero, the Pingpong-loop Animation will play as if it was set to Linear-loop.

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Unassessed

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions