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

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

SOLVED
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

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions

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

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

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

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

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

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

Regards,

Brian