arkit-object-tracking.md 1.01 KB
uid: arkit-object-tracking

Object Tracking

To use object tracking on ARKit, you will first need to create a Reference Object Library. See the AR Subsystems documentation on object tracking for instructions.

Next, you will need to create an ARKit-specific version of the reference object. See Scanning and Detecting 3D Objects for an app that you can run on an iOS device that will produce such a scan.

The scanning app produces a file with the extension .arobject. Drag each .arobject file into your Unity project, and Unity will generate an ARKitReferenceObjectEntry for it.

alt text

You should see some metadata and a preview image of the scan.

The arobject can now be added to a reference object in your reference object library:

alt text