How can i make a Sprite from a SpriteBundle sized in World Units? #6512
-
Is there a way to make a sprite in size of world units? like 1 or 5 world units. the same that are used in ScalingMode::Auto? Thanks :D |
Beta Was this translation helpful? Give feedback.
Answered by
tim-blackbird
Nov 7, 2022
Replies: 1 comment 2 replies
-
The |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
DasLixou
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
Sprite
component has acustom_size
field.https://docs.rs/bevy/latest/bevy/prelude/struct.Sprite.html