By janantikey
on Sat, 07/06/2013 - 14:17
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
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.
add my own target in multi target
Hi
Thanks for the reply.
add my own target in multi target
You may need to select your multi-target and then go to Menu -> Vuforia -> Apply DataSet Properties
add my own target in multi target
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
Great!
add my own target in multi target
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
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
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
In the sample you have a script called RotateAround; I guess this is the one you are trying to modify: