So for my tech problem, I set out to figure out how to make an object respond only when you look directly at it with your phone. I originally thought it would be through the phone’s accelerometer and gyroscope, but after suffering for a long time, I realized there was a much easier way using the location of the first person point of view camera. It also helped to delete mass amounts of code that was stopping the object from moving at all.
Attached is video of my little Android buddy spazzing out whenever I look at him directly. (I need to shift it a bit; it’s slightly off)