- Home /
Question by
Eco-Editor · Dec 03, 2019 at 12:41 PM ·
camerapositionvector3direction
How to detect VR camera movement?
Hello all,
I want to know if my camera is "going" under the sea, I have in my scene, and when its going above the water.
I want to detect the movement of the position.y of the camera.
Similarly to touch input, that indicates the direction of the finger movement on the screen, I want to know whether my camera is now going down or up?
What would be the best way to do it?
Thank you
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612215631im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to rotate an object to face the direction it's going? 1 Answer
Calculate a new position instead of using Vector3.back 1 Answer
how to find direction between two points 2 Answers
Moving the Camera Up and Down by pressing Key 2 Answers
How to get offset postition after rotation ? (Spent hours figuring it out) 3 Answers