Understanding the rooftop racers demo
Hello,
Unsure this is the correct forum to ask this question, it seems you can only have access to one at a time which is a bit silly but any ways. I've just downloaded the sample "rooftop racers" world and I'm looking at the the double jump logic. I see the relevant logic inside PlayerLocalController script that actually implements the double jump. I think I understand the toggle stuff between player and server running. However what is confusing me is in the world there are 8 objects configured with the script attached. Setup like you have to attach the object/script to the player when they enter the game. Is this truthful and where can I find that logic which attaches the player to the object?
I followed the code from the event OnDisplayHintHUD, this led me to sysPuzzleEnter that handles players joining. Players are passed in that event and then the HUD are attached. It's a bit convoluted but makes sense. I will sleep better tonight now I understand this.