Reseting nodes

Hi,



I’m trying to make a game where you by clicking on objects remove them, kind of like “Red Star Fall” but in 3D  :P  (http://armorgames.com/play/3420/redstar-fall), but I don’t know how to reset the game. :’( I remove the nodes with:



target.removeFromParent();
((DynamicPhysicsNode) target).setActive(false);



I save the starting position of all my nodes, so one way to do it is by just moving the node so you can't see it and when resetting just move it back again.

Another way would be to simply reload the level, but that seems like it wouldn't be very efficient.  :P

What would be the best way to do this in your opinion?  :?

Thank you for your time!  :D

Store all removed ones in a ArrayList, and then for loop over it, setting the orginal values for rotation position ect.

Empire Phoenix said:

Store all removed ones in a ArrayList, and then for loop over it, setting the orginal values for rotation position ect.


I take it this assumes I just translate the boxes away?