"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

How to create an anchor by using SDK 10.0

Since TrackManager has been deprecated and removed, how can I update my code from SDK 9.6 to 10.0 now.

Following is my code used before:

    var deviceTracker = TrackManager.Instance.GetTracker<PositionDeviceTracker>;

    if(deviceTracker != null)

    {

        var anchor = deviceTracker.CreateMidAirAnchor("MyAnchor", Vector3.zero, Quaternion.Euler(new Vector3(0,0,0)));

    }

Thanks

 

   

Hey there,

 

I would recommend going through the migration guide: https://library.vuforia.com/project-migration/how-migrate-unity-project

 

Kind regards,

Patrick Scheper

Technical Community Manager