Replies: 1 comment
-
|
bump, I need this too |
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.
-
I want to use Text2d to draw labels next to certain entities in 3d space. As a test, I combined the Text2d example https://github.com/bevyengine/bevy/blob/latest/examples/2d/text2d.rs with the simple 3d Scene example https://bevyengine.org/examples/3d-rendering/3d-scene/, replacing " commands.spawn(Camera2d);" with spawning a 3d camera.
The 3d scene shows, but the Text2d entities do not. I then re-added the camera2d with a render order of 1, which results in drawing the Text2d example on top of the 3d scene. But of course, the 2d Text cannot be translated in the z direction.
Can someone enlighten a Bevy and Rust beginner on how to draw Text in 3d space?
Beta Was this translation helpful? Give feedback.
All reactions