public bool LoopBody(CollidableReference reference) { References.Allocate(Pool) = reference; //If you wanted to do any top-level filtering, this would be a good spot for it. //The CollidableReference tells you whether it's a body or a static object and the associated handle. You can look up metadata with that. return(true); }