AlwaysOnTop for SurfaceGuis

So I’ve been working on surface GUIs being used as a 3D HUD display. After a while of testing, I realized that if a brick comes between the camera and HUD display, it blocks a part of the HUD. BillboardGuis have a property called AlwaysOnTop, which displays it even if parts are blocking it from view. I think this should be a feature for SurfaceGuis as well. What do you think?

SurfaceGui so far


SurfaceGui blocked by a part

https://i.gyazo.com/1832765a07c32b998c786b85695e0236.gif

11 Likes

Why would you want it angled like that? Feels like it would make it harder to read… which I does seem to do in the picture.

Cool, however.

1 Like

I made a function that reduces the intensity of the rotation, which is going to be an option in the display settings for my game. Thanks for pointing that out, by the way.

Can’t you script the same effect using Rotation in a 2D gui?

Not really, the appearance of the GUI is skewed, something 2D GUIs can’t really do

You use a part and I am guessing the part is inside the camera? My little experience in doing this is that the part will go inside other parts. I only have ever seen someone manage not to do that once. I think it may have been at one of ScriptOn’s place or something like that.

Edit: I may have no idea what I am talking about.

Are you able to possibly scale down the part and bring it closer to the camera?

No sadly because if It gets too close, the FOV will start warping the part and the part will start glitching past the camera’s viewpoint. :sob:

Well, you can’t have the letters “inverse stretched” horizontally, but you can position them like
t
.h
…i
…s
while also positioning them on the right height.
(so the h is right of the t, but a pixel or 2 lower)
It’ll definitly be interesting.

Yes, please. This would be nice to have.

Can be used for marking things through walls instead of the ugly BillboardGuis. Would be able to see a character walk when youre behind a wall.