godot icon indicating copy to clipboard operation
godot copied to clipboard

Animated bone sometimes rotates 360°

Open MrMinimal opened this issue 1 year ago • 0 comments

Tested versions

Godot v4.3.stable.steam [77dcf97d8] Godot 4.4-rc1 Blender 4.2.6
Advanced Import 🐞bug 🐞bug ☀️no bug
Normal AnimationPlayer ☀️no bug 🐞bug ☀️no bug

System information

Godot v4.3.stable (77dcf97d8) - Windows 10.0.19045 - Vulkan (Forward+) - dedicated AMD Radeon RX 6800 XT (Advanced Micro Devices, Inc.; 32.0.12033.1030) - AMD Ryzen 9 5900X 12-Core Processor (24 Threads)

Issue description

Image

My forearm rotation looks fine in Blender.

In Godot 4.4 however, the forearm rotates 360 degrees in both the Advanced Import Settings Preview and the AnimationPlayer in a scene.

The same bug is not present when viewing it in a scene with AnimationPlayer in Godot 4.3 (possible regression?). I tried poking around at https://github.com/godotengine/godot/blob/394508d26dcf1b7a9362453f9009c07d969f1a7e/scene/animation/animation_mixer.cpp#L1403 but don't have a working C++ setup right now.

4.3 Advanced Importer

Image

4.3 AnimationPlayer

Image

4.4 Advanced Importer

Image

4.4 AnimationPlayer

Image

Steps to reproduce

  1. Open the example_project.zip
  2. Open res://development/animation_test/test_animations.blend with double click in "Advanced Import"
  3. Select in scene view Armature | mixamo_com | Layer0_001 Retarget
  4. Scrub animation bar back and forwards (rotating 360 degrees)
  5. Observe right forearm rotation
  6. Close Advanced Import view
  7. Open res://bug.tscn
  8. Select AnimationPlayer in scene view
  9. Select animation Armature | mixamo_com | Layer0_001 Retarget
  10. Scrub animation bar back and forwards
  11. Observe right forearm rotation (rotating / not rotating depending on Godot version)

Minimal reproduction project (MRP)

example_project.zip

MrMinimal avatar Feb 23 '25 10:02 MrMinimal