Posted on 1998-04-29
I'm having real problems when trying to assign variables in VRML.
Heres what im trying to do - I want to inline an object relating to the number of times object a is clicked AND object b is clicked.
For example - if i click on object a 3 times, and object b 4 times then the object inlined will be object 7 (3+4).
At present i can inline the object relating to one of the objects, using a simple switch node (which , depending on the number of clicks, inlines that specific object)
But am finding it very difficult to then add a second variable into the puzzle????
Hope all this makes sense.... Any ideas as to the code please help..