Demo of how to find the distance between the camera and a virtual object.
Learn more stuff by watching my Spark AR Tutorials on YouTube!
Follow me on Instagram @positlabs and try out my effects!
Browse my open-source Spark AR repositories on Github!
Have questions? Join the Spark AR Community group on Facebook.
If you used this in client projects, or simply enjoyed making effects with my open-source projects, please consider a donation or sponsorship. One-time donations can be made with PayPal. Subscriptions can be through PayPal or Github Sponsors (click the heart sponsor button at the top of the page).