pureleaf Posted May 9, 2023 Share Posted May 9, 2023 How could the closet object be filtered to only return a object at a specific z plane, for example 0 Quote Link to comment Share on other sites More sharing options...
Gunman Posted May 9, 2023 Share Posted May 9, 2023 33 minutes ago, pureleaf said: How could the closet object be filtered to only return a object at a specific z plane, for example 0 Filter/lambda with closest method closest(Filter<E>... filters) Gets the closest generically specified Entity by using the Pythagoras algorithm. I mean I guess if you wanted you could do it yourself with getAll() and then user the filter method from stream, then sort it by distance then get first other wise null Quote Link to comment Share on other sites More sharing options...