Log in or register to post comments

MultiTarget

December 12, 2014 - 5:38am #1

Vuforia SDK Version: 3.0.9 -

Description with steps to reproduce:

 
Hello,
 
I try to create multi target with difficult geometry and i found bug in offical documentation
there is information about setting marker rotation in config
 
1)  <Part name="myPart" translation="10 0 0" rotation="0.7071 0 0 0.7071" />
but sdk says:
Direct parsing of Quaternions is not supported. Use Axis-Angle Degrees (AD:) or Axis-Angle Radians (AR:) instead.
 
2) <Part name="myPart" translation="10 0 0" rotation="AD: 1 0 0 90; 0 1 0 -90" />
Found illegal rotation attribute for Part 4 in config.xml. Part will be ignored.
 
So, how i can rotate marker to (-90, 160, 0) degrees?
 
 

-

Development OS (Mac OS X, Windows, Linux): Mac OS X -

Mobile OS and Version: Android 4.4.4 -

Mobile Device Manufacturer and Model name: Samsung Galaxy Alpha -

Do the Vuforia Sample Applications show the same behavior?: https://developer.vuforia.com/resources/dev-guide/multi-targets

MultiTarget

December 14, 2014 - 11:48pm #6

Thanks for confirming it only appears in the Unity editor; this is a known issue with the Editor, but as you also observed, it does not affect the runtime on-device functionality.

If you feel uncomfortable with the Editor-specific issue,  one relatively simple workaround would be to convert your quaternions to a single "Axis-Angle" representation of the rotation

something in the form of rotation="AD: 1 0 0 90"

(where AD stands for "Axis -angle in Degrees")

This will be correctly picked up in the Editor too.

 

MultiTarget

December 14, 2014 - 5:16am #5

Interesting, this bug appears only in Unity Editor, on android all fine.

How to fix it in editor?

MultiTarget

December 13, 2014 - 11:30am #4

Ok; and, is the message displayed in the Unity Editor, or at runtime ?

 

MultiTarget

December 12, 2014 - 3:04pm #3

Unity extension

MultiTarget

December 12, 2014 - 5:46am #2

Are you using the Unity Extension of Vuforia ? or Android native SDK ?

 

Log in or register to post comments