Instantiating two similar objects controls both of them.

Options
I'm trying to Instantiate players in my scene. I can get them both to appear, however one controls the other. What needs to be done so that individual players control their own characters, as far as just position and rotation. :?:

Comments

  • dreamora
    Options
    disable the character controller after instantiation if the owner of the network view != local player
    also ensure that the client that is going to control it is the one instantiating it, otherwise he won't own it and can't send serialization
  • Tobias
    Options
    The Marco Polo tutorial also shows how it can be done.
    Read: http://doc.exitgames.com/photon-cloud/M ... o_Tutorial
  • Thank you for your help. I will go through the Marco Polo Tutorial.
  • Sorry to bump this, but i am having this error, and i had to delete the Marco Polo tutorial because it had too many errors for some reason, could anyone send me a corrected script for this or something please?
  • Tobias
    Options
    The online tutorial should be error-free by now. Early last week we fixed it and adjusted it to the new content of the "Monster" package.
    If you say you got errors, can you be more specific please?

    I will update PUN sometime this week and it will contain the new version of scripts that are the result of the tutorial.
  • There was an error in Gamemanager and another script, i'll look at it in more detail when i return home.
  • Tobias
    Options
    Please look at the online tutorial. That should be ok since last week. The updated version in the PUN package will be released when we finished some other improvements, too.
    http://doc.exitgames.com/photon-cloud/M ... o_Tutorial
  • Tobias wrote:
    Please look at the online tutorial. That should be ok since last week. The updated version in the PUN package will be released when we finished some other improvements, too.
    http://doc.exitgames.com/photon-cloud/M ... o_Tutorial
    404

    There isn't a GitHub Page here.

    Are you trying to publish one? We'll send you an email when your page has been built. It may take up to ten minutes until your page is available.

    Read the full documentation to learn how to set up GitHub Pages
    for your repository, organization, or user account.

    Contact Support — GitHub Status — @github
  • Tobias
    Options
  • i guess i'm missing something here cause that one isn't working either...
  • Tobias
    Options
    I edited my answer when we re-uploaded the tutorial at the original position.
    Please use: http://doc.exitgames.com/photon-cloud/M ... o_Tutorial
  • which section should i be looking at?
  • Tobias
    Options
    All of it :)
    Simply work through it once.
  • Ok, except, i only speak Javascript, not C#.