Log in or register to post comments

Detect click on 3d Object

October 24, 2012 - 4:55am #1

How I can detect click on 3d object (button) detected on Image Target?

e.g. When I click on object, message with name of object is displayed on the screen.

Thanks!

Detect click on 3d Object

October 25, 2012 - 5:46am #4

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

 

Detect click on 3d Object

October 25, 2012 - 5:13am #3

Hi NalinS,

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

Log in or register to post comments