cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

"Manually" rotate a model in ThingWorx View with HoloLens?

bwhelan
12-Amethyst

"Manually" rotate a model in ThingWorx View with HoloLens?

Hi all,


What is the procedure to manipulate or rotate a model that is viewed in the HoloLens TWX View? Is the rotation a sequence step or is there a method of getting a gesture to trigger a model rotation?


Thanks,


Brian

1 ACCEPTED SOLUTION

Accepted Solutions
flamy
10-Marble
(To:bwhelan)

I have used a simple approach to rotate the model .  :

Create Application parameter  RotationY , bind  it with the Y Rotation in the  model

Add JS to for example Swipeleft  event :   app.params["RotationY"]= app.params["RotationY"] - 90  to rotate the model 90 Deg on Swipeleft

View solution in original post

2 REPLIES 2
flamy
10-Marble
(To:bwhelan)

I have used a simple approach to rotate the model .  :

Create Application parameter  RotationY , bind  it with the Y Rotation in the  model

Add JS to for example Swipeleft  event :   app.params["RotationY"]= app.params["RotationY"] - 90  to rotate the model 90 Deg on Swipeleft

bwhelan
12-Amethyst
(To:flamy)

Thank you very much for the help Francois! I'll give this a go..

Regards,

Brian

Top Tags