Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I keep a BillboardGui centered without using scale?

Asked by
drew1017 330 Moderation Voter
8 years ago

So for my billboardgui health bar, im using scale so that it gets smaller the further you are away from it, however that made it look ugly and you don't want that so I tried to remove the scale so that it stays the same size. Thing is, it gets uncentered the further away you are, unlike if I used scale.

So, the question: How would I keep a billboardgui centered onto it's adornee without using scale?

1 answer

Log in to vote
0
Answered by
Redbullusa 1580 Moderation Voter
8 years ago

Try to set your BillboardGui object's size to {0, 50}, {0, 50} (or any other values in the offset components) and your child GUI object's size to {1, 0}, {1, 0}.

I don't really understand why the offset values must be manipulated, but you must set your child GUI object's size in the scale properties, else your GUI will not be centered.

Ad

Answer this question