Hi,
I'm new to Vuforia SDK, I did many researches but I couldn’t find a proper answer. Is there a way to get the tracker (camera) rotation angles? I need to display several different images based on the tracker angle.
For example: In 0 degrees one image and in 10 degrees another image and it goes on...
For that I need to get the tracker rotation. Please acknowledge me on how to get the tracker angle, either from JAVA Android code or from C# code.
It will be great if this can be achieved by Java Android code, But even C# code also would be fine.
Thanks in advance.
Amal.
Check out this KB article - https://developer.vuforia.com/resources/dev-guide/getting-camera-position
In Unity, you can accomplish the same using the camera transform.
But it's important to understand that the camera is independent of the Tracker. The Tracker is responsible to determining the poses of scene elements, either the targets or camera, depending on how you've defined the world origin (i.e. 0,0,0 ). This is set by defining the World Center Mode for a scene in Unity.