Closed MatrixSenpai closed 1 month ago
Do your intermediate entities have a non-1 scale value? If so, this is expected transform propagation.
Yeah looks like they do. You need to correct for that, or better yet set the image size of your sprite rather than scaling it.
ah, you're absolutely right, thanks for the quick response!
Bevy version: 0.14.2
The release number or commit hash of the version you're using.
Relevant system information
Attempting to use a 2d Text Bundle inside a nested 2d sprite without a 0.01 transform on x+y axes causes text to become so large i mistook it for a gradient.
The text bundle is nested inside multiple objects. Resizing for each entity is calculated based on window size so resolution should not affect this issue...i don't think?
With a transform included on the text bundle of value
Vec3::new(0.01, 0.01, 1.0)
the text is clear, as seen hereWhen this transform is removed, however, i get this result:
Relevant code snippet: