google-ar / WebARonTango

A proposal to provide Augmented Reality (AR) capabilities to the web in the form of a prototype on top of WebVR built in Chromium.
Apache License 2.0
389 stars 48 forks source link

THREE.WebAR.positionAndRotateObject3DWithPickingPointAndPlaneInPointCloud #12

Open jeromeetienne opened 7 years ago

jeromeetienne commented 7 years ago

in my experience, this function may triggers the mobile application to crash. The bigger the scale number, the likeliest it crash.

THREE.WebAR.positionAndRotateObject3DWithPickingPointAndPlaneInPointCloud(pointAndPlane, object3d, scale)

keep on the good work.

ps: quite a mouthful btw :)

judax commented 7 years ago

Could you provide some log with the crash? Is it a JS or a native crash? It is strange that the native app would crash with this call but it definitively could be possible as the VRPointAndPlane structure has a native counterpart/implementation (but is a pretty simple class).