Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Programming and Scripting
Name cloned Scene Node

bob
Guest
Quote
2020-03-20 12:20:21

How does one clone a scene node and give it it's own name that can be called by the engine.

I am trying to control a specific cloned scene node.


Zoo
Guest
Quote
2020-03-20 12:26:32

I think this code will clone a scene node and rename it

ccbSetSceneNodeProperty(clone, "Name", "newName");

Then you can access it's functions like a normal scene node


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Intern?tional" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact