Log in or register to post comments

add my own target in multi target

July 6, 2013 - 7:17am #1

Hi 

I have tried multi targets example. It is work if I use image targetgiven  in example. But I when i have given my own image target then it not work . I work for unity3d and run application on android.

I have make target database .

add cube on it. add each side of images

import package in unity

change in dataset and multi target parameter of multi target behaviour.

but it not works.

Which step i am missing? Should I change height and width of images in xml file which I got.

If yes, then what parameter I have to add.Sorry for my english.Please help me.

 

Thanks in advance

add my own target in multi target

July 9, 2013 - 1:39am #10

In the sample you have a script called RotateAround; I guess this is the one you are trying to modify:

void Update () 
    {
        Transform parentTransform = transform.parent;
        transform.RotateAround(parentTransform.position, parentTransform.forward, -60 * Time.deltaTime);
    }
 
You probably need to replace the "-60" with a different value.
 

add my own target in multi target

July 9, 2013 - 12:27am #9

ok i have cubeoid box and i want to translate exactly around cubeoid box.but i can't get good result yet. 

add my own target in multi target

July 8, 2013 - 11:52pm #8

Could you explain a bit more in detail ?

are you saying that the radius of the circular trajectory followed by the rotating 3d object is too small, thus the object moves across the cuboid ?

 

add my own target in multi target

July 8, 2013 - 11:13pm #7

Hi

actually my target is cubeoid. and i can not get good result rotating object around cubeoid in horizantal base. it come from middle of the box. I have try to make changes in rotate around script but can't succeded . Is there any idea? Thanks

 

add my own target in multi target

July 8, 2013 - 2:23am #6

Great!

add my own target in multi target

July 8, 2013 - 1:15am #5

Ok it works. I have change target cuboid and give parameter in device database regarding width and height.

add my own target in multi target

July 8, 2013 - 12:28am #4

You may need to select your multi-target and then go to Menu -> Vuforia -> Apply DataSet Properties

 

add my own target in multi target

July 7, 2013 - 10:04pm #3

Hi

Thanks for the reply.

I have change dataset and multi target parameters . but it gives me blur image of image target(at runttime in unity) so i have change camera as align with view and then run but now box is seen as cube instead of cuboid . my box is actually cubeoid. and in apk it not identiify image.

add my own target in multi target

July 7, 2013 - 2:09pm #2

Hi, have you also Set your dataset as the one to be Loaded and Activated in the ARCamera prefab (see QCARBehaviour component, using the inspector in the Unity editor) ?

It seems that step is not included in your list.

 

 

 

Log in or register to post comments