Categories
Uncategorized

One Fix for Lightship VPS waypoints drifting on iPhone

I am working on a project that utilizes Lightship VPS. In my early projects tests, both the iPhone and Android works as expected. I’d scan a location and the objects would appear anchored in place exactly as I placed them. However, at one point, it continued to work well on Android phones but started drifting on the iPhone. As I moved around the objects suddenly moved with me. ACK!

Thankfully I had an older project to compare it to, and I realized the issue. On the ARSession, there is a setting called “Tracking Mode” and the default is set to “Position and Rotation”. However, in the course of fiddling with my project, I had changed the settings to “Don’t care”. Well turns out I do care cause I needed to change it back lol. It’s interesting it still worked as expected on Android phones (which is another reason I’m #TeamAndroid lol), but I’m just happy to have figured it out.