Just like the title. How do I make a decal cut off at the corner or wrap around it?
I am using a Raycasting system that will place the decal at the end of a cast. The problem is that there is no way to know that the placed decal is going off the edge of the part or corner and how to cut it off when the decal reached the edge or wrap it around.
I haven’t tried any solution because I simply do not know any solution for this, but I’ve found a plugin called “Decal Surface Displacement” that share similarities with what I wanted but I still do not know how to implement it or get it to work using a script.
Hello! Creator of the plugin you mentioned here. I replied to an earlier comment there sharing the UpdatePlane function which is responsible for shaping the planes. You can use that as reference if you want.
Plane is the object you deform onto a surface. If you don’t know how to use the function I recommend learning the basics of scripting, functions and arguments.