Community
Topic: Android SDK
Interact with the model? (SOLVED)
I successfully created a "LOCAL PLANAR MARKER" app using Android SDK and Android Studio.
Everything is working great, I aim the picture with the camera of my device and the 3D model appears. My question is:
Is possible to interact with the 3D model? For example, in the monkey model of the tutorial, if the monkey is visible, and I touch the nose of the monkey I want to make an action (show a PopUp or something) can I handle that action?
Hi,
with the tutorial app is not possible, you should create your own rendering engine that allows it. But you can still try changing the ArView class by overriding the onTouch method (ArView covers the entire screen size) and verifying that the touch coordinates are the same as the Mesh.
Alternatively you can try using the Unity tutorial app where it easier to interact with 3d models.
Best,