"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

Targets' positioning bug

Hello everyone.

I have 2 Image Targets (look "img0"). When AR Camera finds them, my GameObject (Plane) appears and it uses positions of targets in world to stay between them. Everything is OK (look "img1").

But camera must find Image Target #1 firstly and then Image Target #2. And after that there will be positions of targets like (0.0, 0.0, 0.0) for target1 (in scene I put this target at 000) and likeĀ (-10.9, -1.6, 4.4) for target2.

If I find Image Target #2 firstly, positions are getting wrong! (look "img2") And my GameObject is looking bugged and it's terrible.

What can I do to make user find Image Target #1 firstly to escape this bug? I tried to change script "DefaultTrackableEventHandler" but nothing works.

Please help. Thanks in advance.

Not sure what your final goal is, but have you experimented with world center mode on the Vuforia Behaviour script?  Vuforia has no knowledge of world space, only the relation of camera to target.  You can have it set either of these to 0,0,0 and it will set the other relative to that.

[quote=dpizzle]

...have you experimented with world center mode on the Vuforia Behaviour script?  Vuforia has no knowledge of world space, only the relation of camera to target.

[/quote]

So much thanks dude! It really works! :D

Topic is closed.

Attachment