Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
If i have a mesh node called 'Quad' how do I make a copy of it in javascript? |
||||
|
ccbCloneSceneNode - try this function, like this var quad = ccbGetSceneNodeFromName('Quad'); var newquad = ccbCloneSceneNode(quad); https://www.ambiera.com/coppercu... |
||||
|
Thank you! do you also know how to create a plane programmatically? |
||||
|
in the editor it possible with var s = editorAddSceneNode("plane"); but looks like u need to make it in a game (runtime). In case with webgl this can help u https://www.ambiera.com/copperlicht/documentation/symbols/CL3D.Plane3d.html, but if u use publish for windows/macos/android I'm afraid it will not working there |
|