Because developers can not do much with ARKit 2.0, Unity has updated the ARKit plug-in to provide access to the new augmented reality superpower of the toolkit.
The updated plug-in is now available to developers through Bitbucket] "Apple announced exciting news for AR developers at WWDC last week, including ARKit 2. Unity has worked closely with Apple to give our developers instant access to all to enable these new features with an update to Unity ARKit plugin, "wrote Jimmy Alamparambil software architect and technical director at Unity, in a blog post that reviews the technical details of the new features.
For shared and persistent AR experiences, developers can use the ARWorldMap feature. ARWorldMap stores feature points of a user environment that can be sent to other users to set up a multi-player session, or loaded from an app to retrieve persistent content. Apps can use the feature points in ARWorldMap according to their observed environment to realign the device to their environment.
To illustrate these new features, Unity has released a sample project called Shared Spheres on Github.
To use 3D recognition objects, Unity now offers ARReferenceObject and ARObjectAnchor. The tandem works similarly to its counterparts for image recognition, with a reference file providing feature points of the scanned object and the anchor feature the target object based on detected points.
Also for ARKit 2.0 is a new anchor type called AREnvironmentProbeAnchor, which creates an area map of an area, updates the map over time, and uses machine learning to anticipate changes to textures and lighting. In return, Unity has added a new parameter for working with the anchor and three new values for texturing.
While Apple introduced ARKit 1.5 image recognition in the latest release brings tracking based on detected 3D objects. Unity has responded by adding an additional parameter to determine the number of objects to be tracked simultaneously.
Finally, Unity has also enabled eye and tooth tracking parameters in iPhone X apps that Apple unveiled during the Animoji update demo
While apps running ARKit 2.0 will first appear on the App Store When iOS 12 officially releases, we can not wait to see what developers are building with these new toys.