Replies: 1 comment
-
I test it a bit better and it seems it in most cases animating rect_position/rect/scale works fine But if you finish the animation and the control rotation is not 0 and after that you set the container rect_size or trigger sorting the container some other way, then the rotation/scale/position will be reset |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Where is a problem when you want to animate position rotation or scale of a control inside a container.
The container just forces these values.
I suggest adding
offset
,rotation_offset
,scale_offset
toControl
.Containers should respect these parameters.
This would allow to correctly animate position rotation and scale even if the container transforms itself.
Unsure about names
And that 3 new properties should be added.
Maybe existing rotation and scale could be reused
There is a way to create own containers to solve the proposed problem but this sounds like reinventing the wheel.
Beta Was this translation helpful? Give feedback.
All reactions