Moving between scenes

Hello there, im making a prototype of my college, so im trying to do this :
when i click on a door, it takes me to another scene inside the room, now when i want to go back to the original scene, i want to be infront of that door, not back from the beginning.
is there any way i could do this?
thank you.

Hi @bittarbader,

Yes, you can store the Camera position in a CoSpace Property (a global variable which you can access between scenes and scripts) when the user clicks on the door, and at the beginning of your scene you can run a check to see if that property is set, and if it is, set the position of the Camera to that last location.

See CoSpaces Edu :: Level Scoring: how to keep score across levels for example usage (you would replace the score with the camera position).

Hope that helps! Let me know if you have any further questions about this. If this solves your problem, please mark this post as the Solution.

Many thanks,
Geoff @ TechLeap

1 Like

I think i get the idea now, i just dont know how to make it real!
could you please share a short tutorial ?
thank you.

Yeah. Use a cospace property to save the position and the direction of your avatar so you can pass these values among all your scenes. Here an example :

I hope it helps. Let me know if you have more questions.