ClipDescendants effect for Parts?

Is there some way to make areas of a part dissapear when touching another part? Sort of like the ClipDescendants thing that already exists for GUIs, I can’t really explain it better

Like in this picture, where one half of the black object dissapears once moving into the not visible red part

1 Like

That’s a nice drawing :slight_smile:

Not in real time, no. There is In-Game Solid Modeling but that takes a second to compute.

If you can constrain the problem to something simpler, like if both parts are always axis-aligned rectangles, or better yet it’s an axis-aligned rectangle and a single plane, it would be possible to come up with a system that chops a part into a few square cuts and destroys a few of them to create this illusion. That’s a much more constrained problem though.

Something like this:

1 Like

Check out this thread!

2 Likes