photonview.ismine and standard fps controller

Options
I'm trying to just use the default first person controller. I can't figure out where to utilize PhotonView.isMine to govern the control of the player object. Any help would be greatly appreciated.

Comments

  • jeanfabre
    Options
    Hi,

    There is several demos provided with the package. Check for example the "Demo worker" example and the "player" prefab resource. It uses a character Controller and there is script "ThirdPersonNetwork.cs" that is a good starting point to understand how to deal with character controllers. You'll see how isMine is used to enable disable features, as well as writing or reading data. The same technic can then be used in many more cases, including first person controller.

    let me know if that doesn't help.

    Bye,

    Jean