Forum Discussion

InaCentaur's avatar
6 months ago

Local vs default: is it possible for more than 1 player to be moved by a moving platform or "car"?

i am still trying to understand local vs default... but also, is it possible for multiple players + NPC to be in the same bus/car/van, or moving platform? 

5 Replies

  • Yes, but then you would not use local scripting unless it was for the driver, but still I would avoid it if other players are riding. Because using a local script would be giving the driver ownership of the script. So the whole bus and controls would be running on that players headset. If that player has terrible internet connection, then everyone has a bad time. Leave it on default and let the server handle the work.

    • InaCentaur's avatar
      InaCentaur
      Member

      ah, i think this is one of those great examples for local/default

      so if it is a bus, if one player is controlling it, leave it default?

      but if it is a single race car, then local?

      to me this is still confusing since somehow i had assumed anything involving movement is supposed to be local

      • PigeonNo12's avatar
        PigeonNo12
        Partner

        The way I like to think about it is: if it's a single player interaction, local. If it's a shared interaction, server side.