Switch scenes with trigger boxes

I want to switch scenes in my linear game to get my game better organized.

Can I implement a central script so that every trigger box can change the next scene?

Thx in advance

Hi @SayHiToMePls,

Yes definitely, here is a tutorial on how to setup triggers:

https://developer.playcanvas.com/en/tutorials/collision-and-triggers/

And you can check the example projects here on how to implement the scene changing logic:

https://developer.playcanvas.com/en/tutorials/?tags=scenes

2 Likes