Chapter 21: hit test with MPSRayIntersector

Is it possible to use the MPSRayIntersector with touchesBegan and get the first interact object to pan?
I have been trying to do it myself but with no luck for sometime

https://stackoverflow.com/questions/55435228/how-to-hit-test-with-a-bounding-box-using-mdl

Any help is mostly appreciated.

@mjeragh I haven’t tried, but it would be great if you were able to make it work. let us know!