"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

change World Center Mode

HI,

 

I have been working with two scenes...one using World Center Mode = First_Target and the other scene needs to Device Tracking.How to swap these modes in a single project.Right now if i change it manually , the changes getting affected in both the ARCameras.....if i tried to do it via scripting 

 

Vuforia.VuforiaARController.Instance.SetWorldCenterMode(Vuforia.VuforiaARController.WorldCenter.FIRST_TARGET)...its not taking any effect...what am i missing ???

 

kindly help!

 

thanks

Hello,

Try something like this:

mVuforiaBehaviour.SetWorldCenterMode(VuforiaARController.WorldCenterMode.SPECIFIC_TARGET);

Thanks