google-ar / three.ar.js

A helper three.js library for building AR web experiences that run in WebARonARKit and WebARonARCore
https://developers.google.com/ar/develop/web/getting-started
Apache License 2.0
2.91k stars 365 forks source link

Moving objects by dragging rather than 'teleporting' them #101

Closed robertjuh closed 6 years ago

robertjuh commented 6 years ago

Hello,

Would it be possible to move objects over a plane with a drag motion? This instead of the process of tapping on a place in the plane and the object will teleport or clone there?

If it's not made yet, i could give it a try to make it myself but i'm not sure where to start maybe you have suggestions?

jsantell commented 6 years ago

There's a demo of a more interactable placement/rotation/moving explained in this blog post, and the code and live demo are available as well that should be a good start!