-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(4.0) Can Tween container greyed out properties, but can't animate them using AnimationPlayer or change them in Editor #57603
Comments
Controls within containers cannot be moved manually, as their position will be reset every time the container is updated (e.g. when new elements are added). This was always the case in Godot, but it's made more obvious in I guess we could display a message when a tween tries to set a |
Isn't it kinda weird that you can change control rect_position using tween, but not by using Animation Player? I understand that you can't change it in editor. But Tween and Animation Player difference is kinda weird I guess? |
The Tween change happens via code, while #30623 only affects the editor. There is currently no mechanism in place to detect changes done to Controls by code (when they're managed by a parent container). |
Really not worth it. There are cases in which you want to do this for legitimate reasons, like animating your UI- And then letting containers take over once you're done. |
In my case I was happy that I could animate node via code. I was just supprised that Animation Player way didn't work. So @Calinou we can probably close this one. Sorry for adding unnecesary issue. Still learning engine and just trying to help :) |
Godot version
4.0 1 alpha
System information
Windows 11
Issue description
Hello. I noticed that there is a problem with consistency with positioning control nodes. That's kinda confusing and probably prone to bugs.
Steps to reproduce
Try changing control node position in those 3 ways.
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: