I’m making a simple flight sim game as more of a game art portfolio piece. I have my plane setup so that it’s in a constant state of flying (never stops). I want the plane to be in a certain position in the level when loading in from the start menu, as right now when the level loads the plane has already spawned and is a distance from the starting point because it is already moving/flying.
What is the best way to approach making sure the plane is in the starting position when the level is loaded? Currently using C Sharp I’ve looked into OnLevelWasLoaded, but am admittedly still pretty beginner at scripting/code.
I have an Empty GameObject called ‘SpawnPoint’ at the start position, and am basically trying to figure out how to write: when level ‘x’ is loaded, move ‘plane’ to ‘SpawnPoint.position’.
Any information you guys could provide would be a huge help and much appreciated. I can provide more info if needed.