Hello,
Can anyone explain to me why this is happening?
I have a level with landscape and an instanced foliage actor containing several hundred instances of a grass static mesh. When I use a Get Components By Class node, the output array always has a length of twenty, which means I must repeat my function many times if I have more than 20 instanced mesh components. I have tested with the class set to both FoliageInstancedStaticMeshComponent and InstancedStaticMeshComponent with the same result. I have also removed the painted foliage and started over. The array length is always 20.
Why is this happening? Is there a limitation in the way I can query the instanced foliage actor?
I am using the approach [described here][2] to remove overlapping foliage instances. It work well except for needing to fire the function many times to clear all the overlaps.