Split UI/2D Transforms from 3D #7876
Labels
A-Transform
Translations, rotations and scales
C-Feature
A new feature, making something new possible
C-Performance
A change motivated by improving speed, memory usage or compile times
C-Usability
A targeted quality-of-life change that makes Bevy easier to use
X-Controversial
There is active debate or serious implications around merging this PR
What problem does this solve or what need does it fill?
A full 3D affine transform is a poor fit for UIs and often overkill for 2D uses.
Transform
and it's propagation system is a major bottleneck inPostUpdate
, with a large number of potentially separable systems dependent on them.What solution would you like?
Split out
Transform2D
andRectTransform
fromTransform
, explicitly for their respective use cases.Pros
Transform
andGlobalTransform
.GlobalTransform
equivalent, relying on the UI layouting algorithm instead.Cons
PostUpdate
is now more involved.What alternative(s) have you considered?
Leave it as is for now.
The text was updated successfully, but these errors were encountered: