Log in or register to post comments

Move around instantiated 3D at image target position

January 25, 2018 - 4:03am #1

Hello everyone, 

 

I need to instantiate a new gameobject at the image target position on user input (ie: tap/click). This object needs to stay static at this position and the user has to be able to rotate around the object.

The problem i'm having is that once the image target has been detected and the new object is instantiated two things can happen: 

 1) World center mode: First target -> The object moves with the image target -> i dont want that.

 2) World center mode: Camera -> The object moves with the camera -> i dont want that neither.

 3) World center mode: Device tracker -> Same as camera :S. 



 

I've been searching for hours and i can' see the solution. Could anyone please give some advice? 

Thank you in advance

Move around instantiated 3D at image target position

January 25, 2018 - 10:20am #2

Hello damoklesh,

When you are instantiating this object, are you adding it as a child object to your Image Target? If you don't do this, you will detach it from the target and allow its position to be independent of the target. However, note that without any sort of target to anchor your model to there is no guarantee that the object will remain in the same position in the camera view. 

Thanks,

Vuforia Support

Log in or register to post comments