Triggered events

Hello everyone,



I have a randomly-generated maze that is stored inside a Node, which actually consists of several sub-Nodes that are the rooms, all of which have entrances to connect between each other. My question is: What is the best way to detect if the camera (player) is in a certain room? For example I want that if the player goes into the “exit” room a message or cinematic will trigger.



Thanks

Theres quite a few ways you can do this. I would say the easiest and most general solution would be to have a Ghost control at each entrance, if you collide with it, you are in that room

1 Like