Hello. Recently, I’ve been attempting to use BillboardGui in one of my games. However, I ran into multiple issues.
There is no event for when the BillboardGui comes within the distance of the player’s view.
BillboardGui.CurrentDistance doesn’t seem to work.
If someone could answer any of these questions that’d be great.
Thanks
1 Like
Fusionet
(Fusionet)
April 19, 2021, 7:10pm
2
You could use Magnitude and BillboardGui.MaxDistance.
1 Like
Well that would normally work, but there also doesn’t appear to be a method to determine the position of the GUI. Is there a way to do that?
Fusionet
(Fusionet)
April 19, 2021, 7:16pm
4
You could use the parent of the BillboardGui (a part) and the character’s HumanoidRootPart.
Skan_Dev
(Skan_Dev)
April 19, 2021, 7:21pm
5
Adornee the billboard to a part, calculate the magnitude from the character to the part and check if its the billboard max distance, if it is do whatever you’d like to do
Thanks the thing I was missing was the adornee.
1 Like