This repository has been archived by the owner on Jul 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 604
Tap on Point? #23
Labels
feature request
New feature or request
Comments
Thanks for the feedback! I'll pass it along as an enhancement request (it sounds like a great idea). In the mean time, you can override the processing via Declare your own gesture detector in the activity:
In onCreate(), install your own onPeekTouchListener. This is called for each touch to possibly handle interactions with the TransformableNodes.
Then implement handleOnTouch:
Finally implement the onSingleTap() method called by the gesture dectector. In this method, call ARCore's frame.hittest() to get the hits on trackables.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We have BaseArFragment.OnTapArPlaneListener now, but missing BaseArFragment.OnTapArPointListener. So it is not easy to use Sceneform to reproduce the same app as hello_ar_java example.
Can you add a BaseArFragment.OnTapArPointListener, or more general BaseArFragment.OnTapArTrackableListener?
The text was updated successfully, but these errors were encountered: