Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
how to make a hidden object visible, when the object is hidden it cannot be accessed and as a result it remains hidden and I do not find any way to make it visible again ![]() |
||||
|
Just put the behavior/action to hide/unhide the scene node on another node (folder nodes or root node works well). You can also unhide the node with JS and the function ccbSetSceneNodeProperty() like: var s = ccbGetSceneNodeFromName("cubeMesh1"); ccbSetSceneNodeProperty(s, "Visible", true); |
||||
|
< var s = ccbGetSceneNodeFromName("cubeMesh1"); ccbSetSceneNodeProperty(s, "Visible", true); > if i hide object i can't make it visible again, where use this code to make coppercube send command to hidden object |
||||
|
Use the code in an "Execute Java Script" action that's on a different scene node than the one you wan't to make visible again. Once a node is invisible it no longer runs its own behaviors or actions. |
|