Changing scene teleporting player instead of adding a player every scene

Hello! I need help to my project where instead I put a player every scene, i want the player teleport to the other scene when they entered on the collision and pressing E and they can go back to the previous scene and teleport.

Im trying to make a game interaction like Silent Hill old games where when you interact on the door it teleports you inside the room.

https://playcanvas.com/editor/scene/1747137

Here’s the project im working on (Sorry for asking some help many times on my project)

Hi @Drake_Aurin,

Check this example project in additive loading of scenes. That enables you to have a base scene (e.g. the player controller) and load/change the level scenes on top of it.

This way you can move your player controller from scene to scene without having to unload/destroy the base entities.

https://developer.playcanvas.com/en/tutorials/additive-loading-scenes/

1 Like