Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
I want something this... I want one object to child in another object with specific key when I pressed and in another key when I pressed I need the the object un-child from the object and set it free without parent or child. Its possible? |
||||
|
yes, you can do this with scripting.
use the above code to make a scenenode child of another node. Replace "child" and "parent" with the name of the node you want to make children and parent. to remove a scenenode from a parent use the below code.
use the above code to remove a scene node from being children of any other node. replace the name "child" with the scene node you want to remove from being children of some other node. hope that helps |
||||
|
PERFECT JUST IN CASE!!!!! |
||||
|
just-in-case I noticed when the object its "child" or not in "child" changing position. Is there any script to add to fix the position even the object is a child or not? Runtime of course. ????? |
|