Login
Login
Register
EasyAR Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
Calculate if tap on screen is on imageTarget
+2
votes
asked
Apr 25, 2018
by
sullemandi
(
220
points)
Platform: Android
When the user taps on the camera preview I would like to calculate if the user hit a specific imageTarget. How can i achieve/calculate this?
easyar
android
image-target
coordinates
Please
log in
or
register
to answer this question.
2 Answers
0
votes
answered
Apr 25, 2018
by
albert52
(
31,850
points)
One solution is to monitor the imagetarget to show an object (attributes can be set to invisible) and use this cube to determine if the user clicked target.
commented
Apr 25, 2018
by
sullemandi
(
220
points)
and how can i use the cube to determine that?
commented
Apr 25, 2018
by
martindaum
(
220
points)
Could you provide sample code for this?
Please
log in
or
register
to add a comment.
0
votes
answered
Apr 25, 2018
by
aslejo
(
140
points)
follow this tutorial it might help you
https://youtu.be/fxWoJmS6Lk4
commented
Apr 26, 2018
by
sullemandi
(
220
points)
this is for unity not android
Please
log in
or
register
to add a comment.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...