I’m working on an AR Application for Android with Google ArCore SDK (using Android Studio and Java). I have a problem to handle invents : tap or clic on displayed image/3D Object, weither it is about Augmented images or placing a permanent anchor.
Please do you have any example of how to handle click on 3D object in Android Studio?
Thank you.
Question posted in Android Studio
The official documentation can be found here.
The official documentation can be found here.
2
Answers
After looking through deep research, I found out that there is an open existing project for sceneform that is still working.
You can find the project here : https://github.com/SceneView/sceneform-android
and some Android Java samples there : https://github.com/SceneView/sceneform-android/tree/master/samples
But pay attention, it seems that some methods in samples are deprecated. I'm working on integrating this in my Augmented Image project but I have some trouble finding corresponding new methods for some of them.
I will appreciate any help from someone who has already done it.
From this post:
The most recommended method is use of ray casting. Assuming you’re using OpenGL, this post describes some methods of using ray casting in the way you need.