Hey there, I am messing around with some different UIs and I noticed that by default the BillboardGui is getting bigger and larger as the player gets closer and farther away. Is it possible to make it not change and just stay one size?
2 Likes
By using the offset property instead of scaling when using text labels, frames and other ui objects inside the billboard ui?
Edit: @JarodOfOrbiter Thanks, I just got it the wrong way round, I haven’t used billboards in a while
1 Like
UiAspectRatioConstraint might be helpful
also try UiSizeConstraint
More specifically, a UDim2 looks like this.
{ScaleX, OffsetX}, {ScaleY, OffsetY}
Using scale will set the size in studs, so it will get smaller when you get farther away. Setting the size in offset will set the size in pixels, so the billboard will always be the same size.
And it should work if you set the size in the Billboard gui itself instead of a frame inside.
4 Likes