- This topic has 5 replies, 2 voices, and was last updated 6 years, 10 months ago by a.gracki.
-
AuthorPosts
-
2018-01-02 at 8:48 pm #1505a.grackiCustomer
I’m missing OBJECT puzzle , what I mean is “when click on OBJECT change the colour of this OBJECT depends of some variables stage”
So puzzle which will know which object is clicked ? it is possible with current puzzles ?I’m just testing the possibilities and looks like this kind of recognizing object will be useful
2018-01-03 at 8:59 am #1509Yuri KovelenovStaff2018-01-03 at 9:38 am #1511a.grackiCustomerOk I did this already but the problem is it can be many objects to change material , do I need to set it as I did for “Sphere”.
This is just testing but I will need for example allow user to change material for multiple machine parts choosing from couple of materials. So the option to change the material of the object which was clicked will be useful, or there is a different way to do it ?Other question I have: Can I move the object and this will change the position of the other object or some parameters of it ? for example create slider to change light intensity/colour, kind of drivers in Blender
2018-01-03 at 12:49 pm #1516Yuri KovelenovStaffdo I need to set it as I did for “Sphere”.
I see. Yes, it appears so. The good news is that you can simplify this task by arranging similar parts to groups in Blender. Still I believe that knowing which object was actually clicked from a group can come in handy in some situations. Will think about it!
Can I move the object and this will change the position of the other object or some parameters of it ?
For now this can be done with some coding, see for example
https://threejs.org/examples/webgl_interactive_draggablecubes.html
Need to think if this can be done with Puzzles.I’d like to thank you for the feedback which helps us understand the needs of real-world applications.
2018-01-03 at 5:34 pm #1524Yuri KovelenovStaff2018-01-03 at 9:16 pm #1538a.grackiCustomerThank You , works perfect :)
so this test is completed ready to implement to real project.Now I will test some other options; ‘look at’ and ‘tween camera’ looks interesting for product presentation to show some details
-
AuthorPosts
- You must be logged in to reply to this topic.