I want to have a scene that attempts to localize using a stored world map. I want to have some event that is fired when localization is successful. Is this available, or is there a way to access the session tracking state and detect a change from trackingstatereason.relocalizing to trackingstatereason.none?
1 Like
If you check the example it does this.
the example lets you know when the map is loaded, not localized
I have same question. Any one solved??
As I did it and as it says here (https://developer.apple.com/documentation/arkit/arworldtrackingconfiguration/2968180-initialworldmap) you should just check the state of tracking, when it’s back to “normal”, localization is complete.