In my game I have a large editable mesh, which is partially transparent, and a non-transparent billboard GUI which is above the player’s head and infront of the mesh relative to the camera.
While this means the GUI should appear fully visible, it instead appears as if it is behind the mesh.
It seems you’re encountering an issue where the BillboardGui appears behind a semi-transparent editable mesh, even though it should be in front. This is due to the AlwaysOnTop property of the BillBoardGui Solution:
Set the AlwaysOnTop property of the BillboardGui to true. This ensures that the GUI renders above other 3D objects, including semi-transparent meshes.
Example:
local billboardGui = script.Parent:FindFirstChild("BillboardGui")
if billboardGui then
billboardGui.AlwaysOnTop = true
end
By setting AlwaysOnTop to true, the BillboardGui will consistently render above other 3D objects, resolving the issue you’re experiencing.
for more details, you can refer to the BillboardGui documentation.