i've got a playerscene that i imported into my map. The player contains of an position 3d, a Camera and a collisionshape.
now im triying to parent an object in this map via the script of the player to the players position 3d. i tried it like so:
var new_parent = get_node("Area/Position3D")
get_parent().remove_child("object of map")
new_parent.add_child("object of other world")
but this doesnt work, and i think its because the object is in another scene.
has someone an idea?
(sorry for my bad english)