Hi ,
I have been using VuMarks ad they work quite well with your support and forums . I have a query regarding multiple targets.
I can see that we can configure multiple targets tracking in unity quite easily with settings of VuPhoria behavior script . My situation is like this:
I show a gameobject (a 3D sphere ) instead of the sprite when a VuMark is displayed on screen. I placed it under VuMark and when I play the scene this sphere sticks to VuMark and moves along with it (same as Sprite).I get the vumak Id using script in VuMakrHandler script and pass it on to sphere using sphere.getComponent<textonmaker>(). Where taxtonmarker is my script which has the string variable which stores this value . This whole scene works well for single marker but my requirement is to use multiple markers and show the VuMarkId on each sphere (i.e. VuMark) when It is detected simultaneously. I see that as this sphere I added under 'VuMark' is a single instance, Showing different VUmarks only adds the id of the latest VuMark. i.e. all the spheres show the same VuMark Id which is detected the last. I understand that this is the single instance of sphere , that is why this happens.
Is there a way I can show it's own ID on every sphere object that is shown on specific vumark detection? It should be sticking to the Vumark as well . I suppose I need to write a script that will generate a new sphere and assign the specific ID of the VuMark to it, but then how will I stick (move along with VuMark) to it?
https://library.vuforia.com
https://library.vuforia.com/articles/Solution/Detect-and-Track-Multiple-Targets-Simultaneously
I used the following code to
I used the following code to set the text to the marker ID on a TextMesh I placed as a child to the VuMark prefab in the example scene. In the VuMarkEventHandler script attached to the VuMark object, in its OnTrackingFound() method, I put the following code:
Hello,
Hello,
where did you find this VuMarkHandler script? I can't see it in the vuforia unity extension in my projects and also have no access to it in the scripts.
The only result in google is your post and
lightshapeAR wrote:
[quote=lightshapeAR]
Hello,
where did you find this VuMarkHandler script? I can't see it in the vuforia unity extension in my projects and also have no access to it in the scripts.
The only result in google is your post and