Log in or register to post comments

Set World Center Mode to ImageTarget

February 4, 2019 - 9:12am #1

How can I set the WorldCenterMode to the first detected ImageTarget? 

Where do I see even those options in Unity? When I create a new ImageTarget, I don't have any option to set for that. 

 

Here is a screenshot which I found (not mine), it should be something like that:

Source: https://stackoverflow.com/questions/47843812/the-value-of-world-center-mode-in-ar-camera-doesnt-change

I don't also have the VuforiaBehaviour Script. And also couldn't find this options in >Window>Vuforia Configuration

 

 

At the moment Hololens Camera is the (0,0,0) origin of the scene. I want that it is the ImageTarget. 

 

Edit:

OK I see, for that option you need to add a > Vuforia engine > AR Camera; But I am using the MixedRealityToolkit Camera for Hololens.

And I also see that the option on HoloLens is anyway not supported.

 

Maybe I just need to get the position of the ImageTarget and use that as an anchor. 

Set World Center Mode to ImageTarget

February 4, 2019 - 3:55pm #2

Hello

zhawindustry4 wrote:

How can I set the WorldCenterMode to the first detected ImageTarget? 

Where do I see even those options in Unity? When I create a new ImageTarget, I don't have any option to set for that. 

HoloLens has special requirements for Vuforia Support. Thus, the World Center Mode is hardcoded to "DEVICE" for 6DoF experiences when developing for HoloLens in Unity.

zhawindustry4 wrote:

Maybe I just need to get the position of the ImageTarget and use that as an anchor. 

I agree with your assessment. I suggest that you also review our free Vuforia HoloLens sample on the Unity Asset Store.

Thanks,

Vuforia Engine Support

Log in or register to post comments