Htc Vive Object Interaction / Change color or Texture

Htc Vive Object Interaction / Change color or Texture

Anonymous
Not applicable
1,762 Views
4 Replies
Message 1 of 5

Htc Vive Object Interaction / Change color or Texture

Anonymous
Not applicable

Hello Dear All,

 

First of all i would like to many thanks this guys for awesome script and autodesk community for helping:

 

https://knowledge.autodesk.com/support/vred-products/learn-explore/caas/simplecontent/content/adding...

 

I`m trying to interact with the object/objects. Aiming shooting (pull trigger and realease) exucuting pyhton command and object change material (color or texture) with vive controller.

 

I would like to know how to create a button and interaction with that. (viewports for example you can teleport yourself with aiming and shooting in the given script upper link!)

 

Can someone give me a script sample or tutorial for that purpose please?

 

Best Regards

0 Likes
Accepted solutions (1)
1,763 Views
4 Replies
Replies (4)
Message 2 of 5

Florian.Coenen
Autodesk
Autodesk
Accepted solution

Hello @Anonymous 

 

within the example scene you pointed to, you should see the buttons for changing the environment.

The button itself is just a touch Sensor that will execute the Variant Set that is linked to the Sensor.

Within the Vset, you can basically execute a Material Switch state.

So you can create a Material Switch for switching materials and then execute the Material Switch State within a Vset.

This is basically the same like switching the environment and you can use the environment Switch example in the provided scene.

 

I hope that is helpful.

 

Regards,

 

 




Florian Coenen

0 Likes
Message 3 of 5

Florian.Coenen
Autodesk
Autodesk

Hello @Anonymous 

 

was my last post a bit helpful? 

Or do you have additional questions concerning the topic?

In case my post is helpful, please mark it as solution.

 

Regards,

 




Florian Coenen

0 Likes
Message 4 of 5

Anonymous
Not applicable

Sorry for lately reply, im traveling right now for presentation i`m currently freeze that execution problem when im back i will try and share with you as soon as possible.

 

Regards

0 Likes
Message 5 of 5

Anonymous
Not applicable

Hello Florian,

 

After your super definition i found a solution thank you very much..

 

This video tutorial also helpful for this solution..

 

https://www.youtube.com/watch?v=LbKBOTIVVl0

 

Best Regards 

0 Likes