Skip to main content
1-Visitor
June 7, 2017
Solved

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

  • June 7, 2017
  • 1 reply
  • 2027 views

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

Best answer by flamy

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

1 reply

flamy12-AmethystAnswer
12-Amethyst
June 7, 2017

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

bwhelan1-VisitorAuthor
1-Visitor
June 7, 2017

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

Regards,

Brian