Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
so with scripts how would you set a scene node to be the child of one and then on an event make a scene node independent? is that possible |
||||
|
"ccbSetSceneNodeParent(sceneNode, newparentnode) Sets the parent scene node of a scene node. If this node has already a parent, it will be removed from that parent. Note that by setting a new parent, position, rotation and scale of this node becomes relative to that of the new parent." https://www.ambiera.com/coppercu... |
||||
|
so If I parent an object and then tell it to parent to that scenenode node again? it will unparent the object? |
||||
|
That's what the document says but I'd parent it back to the root node unless I had a specific reason not to do so. See ccbGetRootSceneNode(). |
||||
|
Thanks |
||||
|
Welcome. |
||||
|
Assess your organization's IT requirements and determine which areas or tasks you would like to outsource. This could include software development, network management, cybersecurity, helpdesk support, cloud services, infrastructure management, or database administration https://mlsdev.com/blog/outsourc.... |
|