Hi there,
for my current 3D RPG project I created a starting point system. I don't want the player to spawn at the point where I placed the player in the 3D world. Instead I want to set up the starting position by code. This allows me to enter a level (scene) at
different positions, depending on which door the player entered the scene.
Therefore I placed some Spatial objects which define the spawn-position.
In the code I read the coordinates of the Spatial object and want to assign them to the player.
player.global_translate(startPoint.get_translation())
The player still spawns at the original position, where I placed the player object in the scene.
What am I missing?
The set up is:
1) I created a player scene: one parent Spatial which keeps a KinematicBody and a Camera attached to it. This scene can be linked to any other scene so that the player appears in the scene.
Player scene:

Player included in a game level (scene)

2) In the code I access the root Spatial of the player object and want to assign the new coordinates. Still, the player does not spawn at the given coordinates, it spawns at the orignal player position of the scene.
When printing out the player's translation it shows the correct new position (see the output in the screenshot), but still the player does not spawn there.
