Log in or register to post comments

Resources online

April 5, 2013 - 5:18am #1

Hi all, I'm testing the "Image Target" application, and I see that the images and models are kept in the same application.

I want to know if there is a way to download the resources in real time, when detecting the target image.


Resources online

April 9, 2013 - 3:11am #7


one reason for this could be that your asset bundle is not centered and/or scaled properly under your image target;

what you could try is to:

  • programmatically attach the instance of your AssetBundle  under your ImageTarget
  • set the gameObject.transform.localPosition of your gameObject (assetBundle instance) to new Vector3(0,0,0)
  • set the gameObject.transform.localScale of your gameObject (assetBunlde instance) to something like new Vector3(0.5, 0.5, 0.5)

In my experience, this should resolve the issue (then you can adjust the scale and position to something slightly better for your needs..)

Resources online

April 9, 2013 - 2:08am #6

I've been trying AssetBundles and the WWW class and seems to be what I need, but by the moment I'm not getting it.

I can load an AssetBundle that I download form an URL, but when I try to get that Asset loaded using an ImageTarget it doesn't work.

I tried to do that by draging the "GameObject" (with the component that downloads the AssetBundle and instantiates it), inside the ImageTarget.

But If i make it run, using the proper ImageTarget, the camera doesn't show the asset.

Can you guide me please?

Resources online

April 5, 2013 - 5:50am #5

OK thanks! I will try it.

Resources online

April 5, 2013 - 5:43am #4

Unity provides several convenience mechanisms to download and render 3D models, images and possibly other resources;

in particular, you could use the WWW class which allows to easily download resources from some URL at runtime, and the AssetBundles;

have a look at these resources:




Programming these features natively (i.e. without using Unity) is also possible, but it will require a much bigger effort, so in this case, using Unity could be a very good option to consider. 

Resources online

April 5, 2013 - 5:34am #3

Thanks for your quick reply. So I understand that I have to develop my own function that download the resources from a server.

I'm testing in all the platforms, it's possible to develop this function at application level in unity?

Resources online

April 5, 2013 - 5:26am #2

Hi, yes, this is definitely possible, you could for instance download and render a 3D model based on the name of the detected target, or similar scenarios.

However we don't have specific tutorial about how to implement such features (as they are not supported out-of-the-box by the SDK, so they have to be addressed at application level)

What platform are you using ? Android native ? iOS native ? or Unity ?


Log in or register to post comments