Dont really know what people call this, so i will give an example. I want to make a part do this:
Basically one of those ESP things or something idk. The way i did that was by putting a SurfaceGui on all sides of the part and set AlwaysOnTop to true. It works fine but it doesnt work with Meshes/Other block types(Cylinders/spheres). I wonder if its possible to make an effect like that on round objects? Ive searched some other posts and they were talking about ZIndex stuff which i dont understand at all.
2 Likes
There really isn’t an elegant and clean way of creating outlines along a mesh or sphere, other then using Selection Box and Selection Sphere. To answer your other question about ZIndex, it is basically the properties of all GUIObjects which alter the order the objects are placed on the Z axis. Not only that, but the ZIndex only accepts positive integers between 1 and 10, as well as 0. Hopefully that answered your questions somewhat.
It is kind of confusing once you first learn about it, but once you get the hang of it, it should be pretty easy to figure out. If you need anymore in-depth explanation about Selection Box and Selection Sphere, or anything else building-related, make sure to mention me. Thanks!
(Edit: There are some workarounds for giving meshes outline, like for example, using ViewPortFrames, but this feature usually has implications, and the effect doesn’t quite match the lighting globally.)
2 Likes
Hello, just checking in to see how you are doing with what I told you. Do you understand it? Confused?
I don’t really know how to use Selection Boxes for my situation.
It makes the outline and all, but i cant see it from behind the wall or anything
This isnt very important though. I’m just trying to learn new things >w<
I’m pretty sure making it seen through walls requires scripting. Click this in order to view some aspects of Selection Box.
1 Like
You can use Highlight instance to make parts look like that. Make sure to enable AlwaysOnTop property.