Adding Multi Target info to XML fails tracking
Hey! I'm stuck trying to set up multi image tracking but whatever I do it fails whenever I add these lines:
<Part name="M4" translation="-0.5 0.5 0" rotation="AD: 0 0 0 0"/>
<Part name="M3" translation="-0.5 -0.5 0" rotation="AD: 0 0 0 0"/>
<Part name="M2" translation=" 0.5 -0.5 0" rotation="AD: 0 0 0 0"/>
<Part name="M1" translation=" 0.5 0.5 0" rotation="AD: 0 0 0 0"/>
The entire XML looks like this:
<ImageTarget name="M4" size="0.5 0.5" />
<ImageTarget name="M3" size="0.5 0.5" />
<ImageTarget name="M2" size="0.5 0.5" />
<ImageTarget name="M1" size="0.5 0.5" />
<Part name="M3" translation="-0.5 -0.5 0" rotation="AD: 0 0 0 0"/>
<Part name="M2" translation=" 0.5 -0.5 0" rotation="AD: 0 0 0 0"/>
<Part name="M1" translation=" 0.5 0.5 0" rotation="AD: 0 0 0 0"/>
And it works without the multi target info, every marker tracks really well, but whenever I try to do multiple it fails (no object displayed in Unity, no plane placed in front of the AR Camera)
Everything's activated in Unity, I tried multiple versions, reinstalling etc. I know that it worked before just I'm not sure why it doesn't now :(
I've been trying to solve this for a couple of days so any help would be really appreciated thanks!
Answer by Mad_Llama · May 07, 2018 at 02:46 PM
The issue was caused by no direction set in the rotation definition. Changing " rotation="AD: 0 0 0 0" To At least rotation="AD: 1 0 0 0" fixed the problem and now it's all tracking fine. Quite weird.