Rotation of object in Z axis based on direction the rotation of the camera
So im trying out the GoogleVR SDK and all that jazz. However, im having a problem where i basically want to rotate my object in its Z axis based on the rotation of the camera (the movement of the head rotates the camera in a fixed position).
So as you can see on the picture, the beautiful drawn man is our test person with the Google Cardboard on his head. So he can basically rotate around and the object, the arrow on the clipping plane, should be pointing(Z axis) in the direction which our man is rotating towards.
Hope the information is sufficient. Right now ive been trying to do LookAt and RotateTowards, but they give rotation in every axis instead.
Kind Regards, Lars.
Your answer
Follow this Question
Related Questions
Google VR SDK for Unity Compiler errors 2 Answers
Google Carboard Compiler Error On Load 3 Answers
Moving the user with google cardboard SDK 2 Answers
Please help about google street view 0 Answers
Is it possible to implement a double press/click magent button functionality for Google Cardboard? 0 Answers