[C#]detect object on mouse look?
how can I detect if my camera is looking a object into a trigger?
I have a door. And if the player is into the door trigger and is watching it, he can interact with it.
I only want to know this. Is using MouseToViewPoint or something like this?
Thanks
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612082528im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Rotate player with mouse. 0 Answers
Trying to make a Parkour Platformer! 0 Answers
How Do I Clamp A Rotation? 0 Answers