Problem with transition from 4.0 to 4.1

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Dibil

Guys I have little project on Godot(started day ago) - 125 lines of code(player/playeranimation), so after transition from 4.0 to 4.1 my code stop work how its works on 4.0 can anyoune expirienced check whats happend and what I should fix.
DropMeFiles – free one-click file sharing service - link on project
P.S. I am newbie in Game dev and Godot Engine

Did you encounter an error message in your script? If so you should probably post that with the code, instead of your entire project. Or describe in more details the problem you encountered…
Also your archive contains a password and cannot be opened.

Zylann | 2023-07-07 13:47

Did you encounter an error message in your script? - No, I dont, just player arm doesnt move like it move on 4.0

Also your archive contains a password and cannot be opened. - site set deffault pass to 123

Or describe in more details the problem you encountered - player arm doesnt move like it moves on 4.0 its should move in radius of player center body, you will see difference if you run projecton 4.0 and 4.1

Dibil | 2023-07-07 13:54

Perhaps you should try to simplify your project more and more, until you get to the most minimal case where things should be working but arent.
Because if behavior changed from 4.0 to 4.1, it could be a bug, and such minimal project should be posted as an issue on Github.

Zylann | 2023-07-07 14:29

Ok, thank you for your answer

Dibil | 2023-07-07 14:36

:bust_in_silhouette: Reply From: tuon

I was able to fix the issue by renaming the original Arm node, adding a new Node2D node, naming it Arm, and moving the sprite nodes to the new node.

Even just duplicating the original Arm node and renaming things so the new duplicate nodes are used fixed the issue for me.

I also noticed that the original Arm node cannot be rotated in the editor.

Very strange.

I guess you cant rotate becouse of activated AnimationTree

Dibil | 2023-07-07 19:53