Only spawn instance touching "air"

Hi, I’m trying to make a voxel-like procedural terrain using BP, and have succeeded in creating a flat procedural terrain.
The chunks are instanced static meshes. But I can’t figure out how to spawn only the instances that are touching “air”, or visible to the player. Anyone know how to check if a instance has a neighbouring instance?

EpEp

there is a open source brick game you might want to check out BrickGame - Game Development - Unreal Engine Forums Game

Thanks, I’l check it out. But a explanation would be nice, I started with ue4 like a week ago.

You could get the bounding data for the instance and use that as input to a MultiBox Trace, looking for hits to other InstancedStaticMeshComponents.