Stop these label3D's from overlapping
Asked Answered
L

7

0

How can I stop these Labels from overlapping each other?

They should look like this:

This is the scene tree:

Luanneluanni answered 23/2, 2024 at 21:23 Comment(0)
H
0

Luanneluanni Use 2D labels. Much easier to manage their positions, or put both texts into the same label.

Handhold answered 23/2, 2024 at 21:28 Comment(0)
L
0

Handhold Is it possible to use 2D labels in 3D space though?

Luanneluanni answered 23/2, 2024 at 21:29 Comment(0)
H
0

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 answered 23/2, 2024 at 21:34 Comment(0)
L
0

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 answered 23/2, 2024 at 21:37 Comment(0)
H
0

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 answered 23/2, 2024 at 21:41 Comment(0)
L
0

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 answered 23/2, 2024 at 21:43 Comment(0)
H
0

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"?

Handhold answered 23/2, 2024 at 22:6 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.