My Sphere trace in my construction script ignores other meshes placed in construction script

I am trying to fill my cave with rocks dynamically so every cave is different and I want to space out my meshes so they do not overlap. The problem is that the Sphere Trace doesn’t seem to be registering any of them, the ONLY thing it hits is my player character which was not added in the construction script.

My rock meshes are set to Block all Dynamic and Generate Overlap Events is turned on.

Does anyone have a good way to get this sphere trace below to actually see the mesh instances also being added below?

I think turning off ‘ignore self’ should do it…

1 Like

That was totally the solution. I did have to set the ground mesh to “No collision” at the beginning of my construction script but if I just turn it back to “Collision Enabled” after all my props have spawned everything seems to be working fine.
The mesh is a Hierarchical Instance so I can’t set it to be ignored in the sphere trace.

1 Like