Hi all, Creating a map here and have accidentally lost the spawn point in the scene tree. The actual spawn sphere is still on the map and spawns my car when I load into the level, however it is mid air above the track and I cannot seem to move it. Changing the coordinates moves the sphere to the right place, I save and open the level again and it goes back to spawning me in the air and my sphere has moved again. Not sure why its gone from the scene tree but it is a pain. Anyone else have any advice? If all fails, how can i copy a road mesh to another level to start again without recreating my entire road? Thanks in advance!
If it does not show in the Scene Tree, then it's probably not there. The one you see is added by the game as alternate solution, but is not part of the level. Try to add a new one from here:
A Ah that library is a golden basket thank you! Once I've created a new spawn sphere how do I address it in the Beamng menu when you select a spawn point?
If you have only one, it should simply use that. For multiple spawns, you need to specify a name for each, and specify them in the info.json file (use GridMap as example)
Oh dear, i can't seem to remove the first buggy one. It always spawns there even though Ive changed the info.json now. Still not listed in the scene tree which is so odd
Go to your Userfolder/levels/<YOURLEVEL>/main folder. You will notice other folders and .json files in there. The structure represent what you have in the Scene Tree. Use any text-editor (Notepad++, Visual Studio Code, etc) and look in all the JSON files for 'SpawnSphere' If you have any result, please upload that JSON file here. If you don't have any result, then it means that there is no SpawnSphere in your level. The one you are seeing is the one that game is adding in when it loads the level (because it needs a place where to spawn the car), but it's not part of the actual level nor is saved with it