As we discussed, motion tracking in ARCore is done by identifying and tracking recognizable features around the user. It then uses those points with the device's orientation and accelerometer sensors to keep its tracking updated. Without doing this, the ability to track accurately quickly falls apart. Additionally, we gain the benefit of now tracking multiple points that ARCore identifies as object points. Let's see an example of what these tracking points look like by starting up the sample ARCore Android app again. Follow the given steps to get started:
- Open Android Studio. If you haven't opened any other projects, then it should immediately load the Android ARCore sample project. If not, load the project in theĀ Android/arcore-android-sdk/samples/java_arcore_hello_ar folder.
- Open the HelloArActivity.java file and scroll down to the...