Hi everyone,
I’m developing an AR construction app for Iphone 15 pro where users place virtual objects in the real world and then align physical objects within them. Accuracy is critical for this use case (±1 cm).
Current Setup & Issue
-
Testing with 4 boxes placed in AR one by one (place first then place real object inside it after place another an so on).
-
At 100–150 cm, AR measurements match real-world distances almost perfectly (±1 cm).
-
At 300 cm, accuracy drops significantly (±6–7 cm, sometimes more).
-
Drift worsens when moving the camera away and returning—the AR object doesn’t always realign correctly.
Attempted Solutions
- Using ARPin: Reduced drift but not enough for ±1 cm accuracy at 300 cm.
- Intermediate Hints:
- Placed markers at 100 cm and 200 cm, then positioned the final box 100 cm from the last marker.
- Improved accuracy to ±3–4 cm, but still insufficient.
- Apple’s AR Measure App: Measures real-world distances between physical objects perfectly (±1-2 cm).
Question
- Are there best practices in Unreal Engine for maintaining high accuracy over larger distances (3+ meters)?
Any insights, code snippets, or references would be greatly appreciated!
Placing first object
Placing hints after i press on AR object to spawn next (341 = 300cm + 41 cm size of the box)