|
Michael Jashan
Registered User
Join date: 25 Oct 2007
Posts: 7
|
02-01-2009 12:06
Does anyone have any ideas on how to keep the hovertext in place (when set by llSetText) so that if I zoom my camera closer or further the text remains above the prim? If you need an example of what I'm talking about, hippoTech single prim vendors have hovertext over them that remains fixed above it no matter what my camera angle. If I just set the text in a single prim, then move my camera around, the hovertext moves with my camera.
|
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
02-01-2009 12:07
You can stick an extra prim to the top of your object, it can be invisible, and stuff the text in there. Another trick used by some is to pad the text with multiple lines to put the important stuff higher.
|
|
Michael Jashan
Registered User
Join date: 25 Oct 2007
Posts: 7
|
02-01-2009 13:33
From: Viktoria Dovgal You can stick an extra prim to the top of your object, it can be invisible, and stuff the text in there. Another trick used by some is to pad the text with multiple lines to put the important stuff higher. Thanks for your reply. Adding the extra prim kinda defeats my purpose of having a single prim item, so that wouldn't work for me. As for the second idea, i'm already padding it to move it above the prim, but still when I move the camera, the text moves with it (ie, so if I zoom really close, the text is still on my screen, whereas with the hippoVend single prim vendor, if I zoom close, the text stays put above the vendor). Racking my brains, and still cannot think of how they do it.
|
|
Viktoria Dovgal
…
Join date: 29 Jul 2007
Posts: 3,593
|
02-01-2009 13:48
One other trick is that the text is based on the prim's center. If you use path cutting, for example, you can fake an offset.
For instance: make a cube 0.1 x 3.0 x 1.5, path cut .375/.875, rotate the X to 270, and the text is way up there.
|