Create a Material that shows only intersection between two objects

Looking good so far!

For the destroy component issue, it happens because you’re calling the DestroyComponent of BP_SectionBox but the component doesn’t belong to this actor. You simply need to call the DestroyComponent function of the owning actor, so it should look like that:

image

1 Like