Decal in area in between Parts

I need help with coloring in / displaying an image in the area between certain parts
Example:
grafik

Here, I would want to create a decal that fills this pentagon between the parts like this:

How would I do that?

1 Like

If you want it to be procedural then you should take a look at Convex Hull algorithms, it isn’t insanely hard to implement. Editablemesh would be easiest to render but isn’t out outside of studio yet and is only client-sided, but you should be able to use CSG for it instead.

Otherwise, if you don’t need anything procedural (i.e. creating it before runtime), you can just create it in blender.

You should then place the decal onto the generated plane.

1 Like

You could do it 2 ways, if you are familiar with blender make a mesh with a texture with a UV Map of the shape you showed.

Or if your not just make a bigger regular part make it invisible, uncollidable and place a decal ontop with the shape that you want just make sure it fits the size/aspect ratio of the part.

image

The part should be basically your decal aspect ratio really easy to make with no knowledge of blender.

1 Like

The convex hull algorithm is nearly exactly what I wanted, tysm!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.