Log in or register to post comments

what's the best way to set the initial orientattion of the ARCamera?

July 11, 2018 - 3:37pm #1

unity 2018.1, vuforia 7.2

 

what's the best way to set the initial orientation of the ARCamera? I need to orientate the camera relatively to the compass (since I am displaying real world assets). Currently I have a2 cameras: the ARCamera to render the video plus an extra camera to render the assets. Every update, I give the asset camera the same rotation as the ARCamera plus I apply the initial heading that I read from the compass when the session started.

Is this the recommended way?

As a side note, although this feature is not present in ARCore (unless I just missed it), ARKit has it in the GravityAndHeading run session configuration...

what's the best way to set the initial orientattion of the ARCamera?

September 3, 2018 - 3:54pm #4

I am still looking for a way to do that. Any help appreciated.

thanks

Guillaume

what's the best way to set the initial orientattion of the ARCamera?

July 18, 2018 - 4:49pm #3

dpizzle wrote:

It's hard to piece out exactly what you need

 

 

I just want the ARCamera to match the compass/true heading of the user. So I am looking at how to handle this with Vuforia since the rotation of the ARCamera is reset to zero when vuforia starts.

what's the best way to set the initial orientattion of the ARCamera?

July 12, 2018 - 7:37am #2

It's hard to piece out exactly what you need, but setting the World Center mode to Camera and then rotating the 3d world might be an option for you.

 

Log in or register to post comments