How to handle warping to positions in sub-scenes?
Posted: Fri May 03, 2019 11:02 pm
Hey Tony- thanks for making Scene Streamer-
To elaborate on the question in the subject-
Lets's say we're talking about the Example that comes with SceneStreamer- Six scenes named 1-6
So the player is in Scene 1 and there's is a warp portal that warps to Scene 6- how should we handle that use case?
Or lets say a level is being loaded from a save and the players spawn point in is Scene 6?
If I manually call SetCurrentScene("Scene 6") it works in the example but I imagine on a heavy scene some time is needed to load the scene as its not preloaded when this is done manually-
Would I just load Scene6 as a neighbor to Scene1 as well?
Just looking for some ideas on how to handle this- thank you.
Edit: Adding Scene6 as a neighbor and manually calling SetCurrentScene works perfectly for warping from one StreamerScene to the next-
To elaborate on the question in the subject-
Lets's say we're talking about the Example that comes with SceneStreamer- Six scenes named 1-6
So the player is in Scene 1 and there's is a warp portal that warps to Scene 6- how should we handle that use case?
Or lets say a level is being loaded from a save and the players spawn point in is Scene 6?
If I manually call SetCurrentScene("Scene 6") it works in the example but I imagine on a heavy scene some time is needed to load the scene as its not preloaded when this is done manually-
Would I just load Scene6 as a neighbor to Scene1 as well?
Just looking for some ideas on how to handle this- thank you.
Edit: Adding Scene6 as a neighbor and manually calling SetCurrentScene works perfectly for warping from one StreamerScene to the next-