If you want to do something like death you could use a trigger volume and on entering the trigger doing something. Same for the end of the level, make a trigger that tells the game loop you finished the map.
If you want to do something like death you could use a trigger volume and on entering the trigger doing something. Same for the end of the level, make a trigger that tells the game loop you finished the map.