Log in or register to post comments

Store image target position and rotation relative to each other

October 2, 2019 - 5:16am #1

Hi there,

For my application its necessary that i can put object in the scene by tracking the marker position and rotation. I want to store this configuration to put them later onto this position again. In addition they have also be relative to each other. The best scenario would be to add them into a ground plane but it doesn't work either.

I thought it wouldn't be such a big problem, when i spawn the objects they are on the right position but when i move the camera they arent constant in position and follows  the camera by a strange way.

At the moment i working just with the unity Editor (2018.4.0f1) and Vuforia (8.3.8) , but i want to build this App for iOS (11+).

What i have tried so far:

  • instantiate an object with the transform of the image target to the specific position
  • change World Center Mode
  • spawn an object on groundplane with performHitTest(transform of Imagetarget)
  • disable extended tracking before put object onto the ground and enable extended tracking after that
  • attach a script to an empty gameobject inside the groundplane who instantiate an primitve
  • probably more im not sure..

It would be great if anyone could help me, im sitting now two days on this problem and i dont see any solution.

thanks in advance!

 

 

Store image target position and rotation relative to each other

March 19, 2021 - 12:53am #4

Hi

Just to clarify, so my scenario is I have two markers, when one marker position is changed in the real world, the other marker GameObject scale up in Size.

Is this something doable through Vuforia please?

Store image target position and rotation relative to each other

October 27, 2020 - 2:12am #3

Hi,

I have a related question please. I have two markers in a scene. I want one marker to act as a scaling effect for the other markers

Store image target position and rotation relative to each other

October 3, 2019 - 2:24am #2

Hi,

Based on my understanding of your scenario, I would try to put them as child of a GameObject. With this, the objects will always be in a relative position to the parent object. If I didn't understand correctly your scenario, please provide more details about your use-case.

Thank you.

Vuforia Engine Support.

Log in or register to post comments