Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I am developing my own experience in thinworx studio. I have my own 3D model similar to that bike application. Now I have to rotate and zoom it like thingworx demo application for that bike. How can I achieve that.
Solved! Go to Solution.
Hi Himashri,
I think you ask for a different thing: you want to move and zoom the 3D model in your experience with slider controls similar to the KTM Bike Welcome Experience, right? In fact this is pretty simple. Here are the steps if you want to control the rotation of the model.
If you want to scale the model, you can specify a corresponding max value and bind the slider value to the Scale property of the 3DModel widget.
I hope this description is detailed enough.
You can zoom in / out with the middle mouse wheel
You can rotate with the right mouse button clicked and moving to rotate
If the model needs to be transformed, there's a "Transform" button on the top of the canvas which will show 3D controls for the model.
Numbers can also be adjusted directly in the "Properties" panel.
Hi Himashri,
I think you ask for a different thing: you want to move and zoom the 3D model in your experience with slider controls similar to the KTM Bike Welcome Experience, right? In fact this is pretty simple. Here are the steps if you want to control the rotation of the model.
If you want to scale the model, you can specify a corresponding max value and bind the slider value to the Scale property of the 3DModel widget.
I hope this description is detailed enough.
Moritz, Agree with your answer. Just an FYI, We've a similar article on this issue - How to rotate 3D model in TWX view app
Hi,
Where can I find this X-Y Z Rotation property.
By binding the little arrows e.g. to model-1
BR
martin
Hello Martin,
I have bound the model Y-Rotation to the slider but for some reason the rotation is not happening around the selected Y-Axis of the model.
It is rotating around a different axis. Not sure why.
Please suggest.
Avinash