Search Unity

Photon and Cinemachine

Discussion in 'Cinemachine' started by hrvn, Apr 12, 2022.

  1. hrvn

    hrvn

    Joined:
    Jun 24, 2021
    Posts:
    2
    Hello everyone, I am trying to create an open world multiplayer game. My problem is when there are two or more players connected in game, the camera won't move or follow the player.
     
  2. marc_tanenbaum

    marc_tanenbaum

    Unity Technologies

    Joined:
    Oct 22, 2014
    Posts:
    637
    Hi @hrvn and welcome to the forums.

    There's not really enough information here to help you out. Cinemachine cameras don't have any connection to the fact of a game being multiplayer. I.e., the camera on any given node of a multiplayer game will follow whatever player/object you tell it to follow. In order for the team here to assist you, we'll need some kind of information about your game and how your cameras are set up. Screenshots/videos of your Virtual Camera inspector and maybe your game can really help with this.

    If you'll provide us with more info, we'll do what we can to help.
     
    Gregoryl likes this.
  3. hrvn

    hrvn

    Joined:
    Jun 24, 2021
    Posts:
    2
    hello @marc_tanenbaum, i've managed to somehow fix and make the virtual camera follow the instantiated player. thank you!
     
    marc_tanenbaum likes this.