Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hello everyone, I'm trying to change the material of an object from transparent to solid, I'm using the code in execute java script when clicking and the material is transparent: var s = ccbGetSceneNodeFromName ("planeMesh1"); ccbSetSceneNodeMaterialProperty (s, 0, "Solid", true); But nothing happens, any idea what's wrong ... |
||||
|
use this instead.. var s = ccbGetSceneNodeFromName("planeMesh1"); ccbSetSceneNodeMaterialProperty(s, 0, "Type", "Solid"); this should work |
|