"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Simple game development in Android with AR

Hi,

 

I am new to this forum. I had a doubt regarding interaction between AR trackables and game objects. I am developing a simple game for understanding android, unity and AR. My game is catching eggs in the bucket. My question is how can we render an image target and gameobjects simultaneously. I tried rendering both together but then once image target is displayed on the trackable, my other gameobjects which are not dependent on the a marker are not displayed. For example if I try to embed a plane on to a marker then my code for spawning the eggs and the gameobject (bucket) that catches them disappears from the screen. I don't know if this question or something relevant was asked before on this forum, but if it was then please redirect me to that thread since I could not find anything related to it. Any sort of help will be appreciated.

Thanks in advance.

 

Regards,

Bhagyashree Shah

AlessandroB

Sun, 04/13/2014 - 19:40

Sounds more like an "application logic" question and/or a general programming question...

 

Anyway, these 2 articles might help:

https://developer.vuforia.com/forum/faq/unity-how-do-i-get-list-active-trackables

shahbhagyashree

Tue, 04/15/2014 - 03:37

I have added light to the scene. But then what do you mean when you say prefab has the right material. I didn't get you. And what can be other problems to it as you mentioned?

shahbhagyashree

Sat, 04/19/2014 - 16:37

I did check the materials and shaders for the objects under the ImageTarget in the hierarchy. They all look fine. I still cannot get as to why this problem is occuring. Please help :(