How do I set the transform of all client users to that of the server user?

Options
I'm new to Bolt and I was wondering what the best way to move all clients to the location of the server user. How can I reference what the current transform of the server user is? Thank you!

Best Answer

Answers

  • Hey @ramonmelo ,

    Thank you for the answer. How would I list the entities as a different player? Sorry, I'm new to this and I appreciate your help!
  • ramonmelo
    Options
    Hello @Whickburglar ,

    Take a look at our API Page: https://doc-api.photonengine.com/en/bolt/current/class_bolt_network.html#a532a94e2ec5699589400785822b1cf0f

    By using the "BoltNetwork.Entities" property, you get a list of all entities loaded in the scene, from there you can just lookup for your server Entity and store it for future use.

    --
    Ramon Melo
    Photon Bolt Team