Skip to main content
Inspiring
March 7, 2025
Solved

Spawn player at dynamic location

Is it possible to spawn/move a player to a dynamic location instead of a predetermined spawn point? I tried setting the position of the spawn point but that doesn't work. I would like to move the player during game play to a new location.

izukingzAnswer
Inspiring
March 7, 2025

Nevermind, moving the spawnpoint position seems to work. I am doing it at the wrong location.

3 replies

izukingzAuthorAnswer
Inspiring
March 7, 2025

Nevermind, moving the spawnpoint position seems to work. I am doing it at the wrong location.

Shards632
Honored Contributor
March 7, 2025

Before you bang your head against the wall, you cannot _rotate_ a spawn point using scripts. You can, however, put a spawn point in a group and rotate the group.

June Programming Calendar
gausroth
Honored Contributor
March 7, 2025

You can also set the players position without the use of a spawn point but you will need to turn on custom player movement. 

player.position.set(new Vec3(x, y, z));

 

GitHub: https://github.com/Gausroth/HorizonWorldsTutorials.git Discord: https://discord.gg/hNyDQwdw4N YouTube: https://www.youtube.com/@GausRothTutorials