- Sort Posts
- 3 replies
- Last post
Detect click on 3d Object
October 25, 2012 - 5:13am #3
Thank you for reply!
Do you know how can I do the following:
- When I click on the object (button), it opens a full screen image (as iPhoneUtils.PlayMovie works for video)
- Click on "back button", on the phone, returns application to its previous state, so I can click on other objects on the screen and open different Images
Thanks!
Detect click on 3d Object
October 25, 2012 - 3:06am #2
Hi manoilov88
Please see this thread which shows a script that can be attached to your ARCamera, which uses Raycasting to identify touched objects/augmentations.
This triggers an OnMouseDown event that you can customise (to display the name of the object) within a script that can be attached to your object.
https://ar.qualcomm.at/content/how-add-touch-listener-3d-object-unity
HTH
N
Hi
I think you need to use multiple scenes and be able to load and run these.
The Unity documentation and forums would be a good place to start.
You could also try searching these forums as well.
HTH
N