1
Technical forum / Problem: DropItem or SceneNode-Saving
« on: November 11, 2010, 02:56:09 AM »
Hello everyone!
I seemingly have the typical problem where the scene entities related to an item get set back to their original place in the scene after I drop them.
Of course I searched for a way to solve it (here on the forum) and I found it: I added a line to my custom Take-function where the scene entity's relation to the item gets disconnected...
It worked!
But then I confronted a new part of the same problem:
When I take an object, leave the scene to fetch another item, come back to the first scene and then drop both items while making a new one out of them, the first item reappears!
But as I found out after some trials, the entities' disconnected relations are connected again when I enter a scene again.
* "Remember nodes states" in SceneEdit is flagged.
* I tried ".SaveState" on the scene entities to be taken as well as on the scene -- didn't change anything.
I beg for a hint since I have been trying on this for several days now! @_@
I seemingly have the typical problem where the scene entities related to an item get set back to their original place in the scene after I drop them.
Of course I searched for a way to solve it (here on the forum) and I found it: I added a line to my custom Take-function where the scene entity's relation to the item gets disconnected...
It worked!
But then I confronted a new part of the same problem:
When I take an object, leave the scene to fetch another item, come back to the first scene and then drop both items while making a new one out of them, the first item reappears!
But as I found out after some trials, the entities' disconnected relations are connected again when I enter a scene again.
* "Remember nodes states" in SceneEdit is flagged.
* I tried ".SaveState" on the scene entities to be taken as well as on the scene -- didn't change anything.
I beg for a hint since I have been trying on this for several days now! @_@