Log in or register to post comments

Problem combining rotations in multi-targets XML setup

September 2, 2014 - 9:17am #1

We're having an issue when trying to combine multiple rotations when defining multi-targets in the Database Configuration XML file, as described at https://developer.vuforia.com/resources/dev-guide/multi-targets

We're using the exact same technique described there, and have checked and double checked that all of our syntax is correct. The setup all works fine with single rotations, however when a second rotation is added to a defined multi-target (with a semi-colon separating rotations) the child target GameObject then just disappears from the Unity scene.

This seems like a bug - has anyone else experienced this or have a workaround?

Problem combining rotations in multi-targets XML setup

September 4, 2014 - 8:57am #3

Thanks for the reply - we've been able to find a workaround using a similar method as described. In terms of this issue only affecting Editor preview though and not the Game window, I wouldn't see how that could be the case - if the bug causes GameObject's not to be created in the first place, there's no way they would be able to be seen in any window or at runtime?

Problem combining rotations in multi-targets XML setup

September 2, 2014 - 12:54pm #2

Hi,

this is a known issue, indeed, which affects the Vuforia Unity extension;

the recommended workaround is to compute the combined rotation (e.g. by mutliplying the quaternions or the rotation matrices) and to store the resulting single rotation in the XML.  

Note: this only affects the Editor preview,   while the runtime works correctly.

 

Log in or register to post comments