Skip to main content
10-Marble
February 23, 2025
Question

Changing the Position of a Model in a Mobile Experience by moving it on the iPad screen

  • February 23, 2025
  • 1 reply
  • 649 views

Hi there, 

I would like to create a kind of webshop / decorating App using Studio, in which around 15 to 20 3D models are stored in a 2D view. When I select an object (a model) in the 2D view, it should become visible in my 3D view (3D Model Visible) and I would like to be able to move this object flexibly in my 3D world by clicking on my tablet screen.

I am currently using the Spartial Target target modeling as a test. Later I would like to change this to a model target. The use case is about decorating a shelf. I have the 3D data from the shelf to store it as model tracking.

When I currently move 3D objects on my screen, I move all objects and not just a selected 3D model.

Is it possible to set that only a specific model is moved, which I am currently selecting? Ideally, selected 3D objects can always be moved.

 

As a workaround, I can also imagine that the model can only be moved initially when a new 3D object is selected from the 2D overview.

 

Has anyone had any experience with this and can explain to me how to move 3D objects flexibly using the iPad screen?

Please help! 🙂

 

Best, 

Jonas 

1 reply

21-Topaz I
March 5, 2025

Hi @JH_9310184 

- actually yes , you can have different models and move each of them separately. But it depend how you will move model. -this will work only when you

coordinate system is fix. So means you will not move the target.

- so when you say you use a Spatial target - and when you move the position of the target it will move all objects because that is your coordinate system in this case and when you select another surface point then it will reorient and replace all models regarding to the x,y,z,rx,ry,rz properties. What you can do is to use some techniques where the coordinate system (any target which determines the  Coordinate system fix point) and then to move the models via coordinates e.g. via setting of the x,y,z, rx,ry,rz properties. - change via slider and inputs value widget

Also possible is via click but you need in that case a one ground model where you click and then you can move specific model at this position..

There is  a sample project in the post https://community.ptc.com/t5/Vuforia-Studio/What-is-componentOccurence-in-the-wayfinding-widget-and-how-do-I/m-p/999210#M12888 which should show some wayfinder funcionality. But there is an userpick implemented so that when you click on the dampfmaschine model i will move a second model on the click location and possibly that functionality could be helpful for you goal.

10-Marble
March 12, 2025

Hi @RolandRaytchev

you are absolutly right. This movement does not makes sense, when I just move the spatial target. I think the slider option is the easiest way, to implement this feature quickly. 

I've looked up your sample projekt. To be honest, I don't really understand the userpick function. How can I adapt something from there? Could you help me please or explain, how this sample project might solve my issue? 

 

Best, 

Jonas