Topic has a solution
Log in or register to post comments

How to create an anchor by using SDK 10.0

Unity Editor
May 18, 2022 - 7:35pm #1
Topic solved

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

 

   

Platform: 

How to create an anchor by using SDK 10.0

May 19, 2022 - 4:14am #2

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

Log in or register to post comments