How to rotate an AR camera ? (Using vuforia)
Hi, I'm trying to rotate the ARcamera to view the objects according to a right angle in an AR app. I use the compass to do so, but no rotation happend. So I tried to make rotate a parent of the ar camera, still nothing happend..
I use that line of code : transform.rotation = Quaternion.Euler(0, -Input.compass.trueHeading, 0);
the script is attached to a parent of the ar camera but it doesn't move.
The compass is working by the way.
Do you have any advice to make it work or should I rotate all the other object instead of just the camera ?
Nathan
Answer by NC_ESM · Nov 21, 2017 at 10:56 AM
Eventually, the camera made by the vuforia plugin won't receive any other input So it can't be moved or turned by other thing that vuforia it self. I did it whithout using vuforia
Your answer
Follow this Question
Related Questions
Cardboard camera issues 1 Answer
Rotate Camera with Character (Follow Target) 2 Answers
viewing on the Mouse Y axis not working. 0 Answers
Google VR SDK, camera not working properly? 2 Answers
How do i walk in the mouse direction? 0 Answers