My understanding of how the pick with ray might be off so correct me if I am wrong.
But I am under the impression before the picking predicate is ran, that a “valid” meshes array is built that the picking predicate has those entries looped through it?
Or is it that the predicate is what creates the valid meshes array to run the pick against?
I figured it was the first, and so continuing on with that thought is there a way to fire a pick manually against a specific mesh instead of the entire scene? Or a manually array of valid meshes? I have a specific setup where I know the exact mesh that needs to have the ray ran against and currently I’m using the predicate to filter, but feel like that is iterating through all active meshes in the scene and I could get more performance if only ran against the specific meshes I need.