How can I stop these Labels from overlapping each other?
They should look like this:
This is the scene tree:
How can I stop these Labels from overlapping each other?
They should look like this:
This is the scene tree:
Luanneluanni Use 2D labels. Much easier to manage their positions, or put both texts into the same label.
Handhold Is it possible to use 2D labels in 3D space though?
Luanneluanni Why wouldn't it be? Unproject the 3D point a label is "attached" to and position a 2D label there. 3D labels are really 2D labels, just that the engine does unpojecting for you under the hood.
Handhold what settings on the 2D label do I need to change to make it 3D because I need it so it's like a prompt where the text faces your camera as you walk around it. I don't want it 2D on your screen I wan't it within the 3D world space
Luanneluanni I wan't it within the 3D world space
What do you mean by that?
Can your labels be obscured by 3D objects? Do label size scale with distance? If both answers are no, your labels can be purely 2D.
Handhold Yes to both. It's a label in 3D, just like a part. It is a prompt in game for interacting etc. You go close to it, and it appears. You move away far enough and it disappears. Then you go behind walls, it's gone.
Luanneluanni Appearing/disappearing is not distance scaling. And by obscuring I meant partially obscured i.e. it requires to be drawn into depth buffer. If a label appears only when its "parent" object is visible and in some interaction radius then we're still dealing with 2D labels that are merely "attached" to 3D positions. Can you show a video of your labels "in action"?
© 2022 - 2025 — McMap. All rights reserved.