godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.37k stars 19.23k forks source link

Skeleton2D broken #89986

Open mortalisk opened 3 months ago

mortalisk commented 3 months ago

Tested versions

godot 4.2.1, macOS 14.3.1 on macbook pro M2 max

Edit: tested also with 4.2, and that seems to work

System information

macOS 14.3.1 on macbook pro M2 max, forward and mobile renderer tested

Issue description

Trying to go though the tutorial in the docs, I had issues. I already made an issue for the documentation (it still needs a few correction, allthough it is not as bad as I thought) here: https://github.com/godotengine/godot-docs/issues/9150

The bug is related to rotation of the bones. Both the bones themselves and the polygons/images are not rotated correctly. In godot 3 this works as expected.

Screenshot 2024-03-28 at 15 31 14

Steps to reproduce

Minimal reproduction project (MRP)

N/A

JekSun97 commented 3 months ago

Try running this demo and see the result, maybe you did something wrong during the learning process

mortalisk commented 3 months ago

Yeah, things are actually working. I tested some more. What I seem to have done, is to use the rotation and scaling on the bones to position them correctly. It looks correct, until I start using the skeleton, and then it does not work. So, I guess it is not a bug, but it certainly is confusing.