Virtual camera

in this lecture we used virtual camera to move the players camera around
is the game only has 1 camera and if we directly move it it will move for all players at the same time
just wondering how i would go about making the camera for a MMo style game
thanks

Hi there,
The camera position is not being synced, so if there is only one camera it could be in different places for each player. Synced objects have a networkTransform object on them to sync up their location, which the camera does not have.

For different camera styles I suggest looking at some of the different options with Cinemachine.
https://docs.unity3d.com/Packages/com.unity.cinemachine@2.3/manual/index.html

Specifically you can use a follow camera mode with a framing transposer, which might be what you are looking for for an MMO.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms