|
| 31 Jan 2016 04:32 PM |
I want to make a BillboardGui that hovers over a brick, but when you get further away it doesn't increase its size so you can see it.
I tried messing with scale and offset, but they both still allow the GUI to resize itslelf so the further you get away, the larger it gets, to the point where it covers over the brick it is adorneed to.
I want it to stay the same size as the brick is from any distance.
|
|
|
| Report Abuse |
|
|
Aethex
|
  |
| Joined: 16 Oct 2011 |
| Total Posts: 2193 |
|
|
| 31 Jan 2016 04:41 PM |
There are two things you need to do, both require pretty much the same thing. You need to first go into your actual BillboardGui object and make the Size property completely use Scale, then you need to repeat the same steps for its descendants. Everything needs to use Scale, including the BillboardGui object itself, in order for it to not resize based on distance away.
(by the way, it technically isn't changing size when you move away, it's just actually staying the same size the entire time and everything else is changing) |
|
|
| Report Abuse |
|
|
|
| 31 Jan 2016 04:51 PM |
Alright, thanks! Now I have it so when you move further away it stays the same size, but when you get closer to a point is shrinks.
Weird.
|
|
|
| Report Abuse |
|
|
|
| 31 Jan 2016 04:52 PM |
And it's just the text in a text label getting smaller btw. Everything else stays the same size, but when you get really close to the gui, the text shrinks.
|
|
|
| Report Abuse |
|
|
Aethex
|
  |
| Joined: 16 Oct 2011 |
| Total Posts: 2193 |
|
|
| 31 Jan 2016 04:58 PM |
| You can solve that problem by setting the TextScaled property to true. |
|
|
| Report Abuse |
|
|
|
| 31 Jan 2016 05:00 PM |
It already is.
I'll make it a model so you can see.
It's weird, it stays the same when zooming out but when you get closer in, the text shrinks.
Model: http://www.roblox.com/Ayo-GUIo-item?id=357507272
|
|
|
| Report Abuse |
|
|
Aethex
|
  |
| Joined: 16 Oct 2011 |
| Total Posts: 2193 |
|
|
| 31 Jan 2016 05:06 PM |
| I understand what you're saying. You could set the size you want and turn TextScaled off to make the text appear only as large as its parent element when getting far away. Then it'll disappear until you get closer. It should stay a relative size the whole time you need it. |
|
|
| Report Abuse |
|
|
|
| 31 Jan 2016 05:51 PM |
Doesn't quite work trying that way. Now it still shrinks and it also disappears way too quickly.
|
|
|
| Report Abuse |
|
|
|
| 31 Jan 2016 06:00 PM |
how2win:surfacegui with invisible part
|
|
|
| Report Abuse |
|
|
blimp80
|
  |
| Joined: 22 May 2011 |
| Total Posts: 278 |
|
|
| 31 Jan 2016 06:06 PM |
| I know what youre talking about. Like if you remember that game robloxity it use to have hills in the background and then roblox did an update to where the billbord guis stayed the same size on your 2d screen and it messed it up because as you got farther away the hils seemed to grow |
|
|
| Report Abuse |
|
|
|
| 01 Feb 2016 07:47 PM |
@xx, the issue with that is I need it to be showing to everyone at the same time. Only billboardguis can do that in 3d space.
|
|
|
| Report Abuse |
|
|