XRTracker¶
6DoF object tracking for Unity — track real-world objects in augmented reality with sub-centimeter precision.
XRTracker brings model-based 3D object tracking to Unity with native performance. Point it at a CAD model or 3D scan, and it tracks the object's full 6 degrees of freedom (position + rotation) in real-time from a single camera.
Key Features¶
- Multiple tracking algorithms — Silhouette (foreground separation), Edge (contour-based), and Depth modalities, usable individually or combined
- AR Foundation integration — Works with ARKit and ARCore camera feeds on iOS and Android
- Cross-platform — Windows, iOS, Android
- Real-time performance — Native C++ core with GPU-accelerated rendering, typically 4-8ms per frame on mobile
- Inspector-driven workflow — Configure everything from the Unity Editor, no code required for basic setups
- Built-in model generation — Generate tracking models directly in the Editor from any mesh
Supported Platforms¶
| Platform | Camera Source | Depth Support |
|---|---|---|
| Windows | Native capture, RealSense, Sequence | RealSense, recorded depth |
| iOS | AR Foundation (ARKit) | ARKit depth (LiDAR) |
| Android | AR Foundation (ARCore) | ARCore depth |
How It Works¶
- Assign a 3D mesh to a TrackedBody component — this is the object you want to track
- Generate a tracking model (silhouette mode) or just assign the mesh (edge mode)
- Press Play — XRTracker detects the object, locks on, and continuously tracks its pose
The tracked pose is applied directly to the GameObject's transform, so your augmentations follow the real object automatically.
Next Steps¶
- Installation — Add XRTracker to your Unity project
- Quick Start — Track your first object in 5 minutes
- Tracking Overview — Understand how the tracking algorithms work
- Licensing — Free tier, trials, and paid licenses