-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Description
What problem does this solve or what need does it fill?
Sprite does not have a layout, but node do.But the node only follows the camera.
When I wanted to replicate some simple blender graphs, my situation was quite awkward.
No one answered my question, maybe question it's not accurate.
#discussions/21242
I found a discussion about graphs, but it focuses more on functional logic
#discussions/6719
I have reviewed the source code related to node layout and moved the globaltransform,it is work. Nodes should not be limited to camera layout at all.This will increase bevy_ui's higher degrees of freedom.
What solution would you like?
Add a Component to Node, root node no longer calculates layout based on camera.
This component will make transform transformable and affect the position of the root node, without affecting the layout of all child nodes of the root node.
By using globaltransform, all children node can be transform, but there may be layout issues
What alternative(s) have you considered?
New plugin bevy_sprite_layout has been added to solve layout issues, but some node functionalities may be missing
Additional context
I haven't found a solution that can transform transforms like sprite and has node layout and functionality.
I don't have strong enough ability to solve my ideas, I think nodes should be more powerful and versatile.