Determining "wall", "floor" and "ceiling" based on a slope angle and direction of normals?

Theres a version that returns an array of hit objects. I guess just run a “find” (or I guess a custom forEach) for the object class you need at pull out its hit location.