I made a simple blueprint that uses instanced static meshes to randomly generate a building. Two meshes are used, a cube and a translucent cube(for windows).
How would I go about detecting which mesh I hit, using a trace?
I know how to get the index of a instance if there is only one mesh, but I have more than one mesh so first I need to detect which one I hit(cube or window).
My goal is to create a procedural destructible building that does not melt my computer.
EpEp