- Home /
FPS Game Camera's switching when 2nd player shows
We'll I'm making a little fps game, just like all the others around here, I've created a nice multiplayer script, all working, but when I add a camera to the cylinder(the player) so not the main camera just in the air, a second camera on the player model, the camera's switched, but they don't when I play it just singleplayer...
Thx. I script in C#
Answer by tobiass · Aug 17, 2012 at 02:36 PM
Your player prefab will take camera control. In multiplayer, many such prefabs are instantiated and they will all "fight" for control. You need to disable camera control and input for remote player's avatars. For networkviews, you can check isMine, I think.
Your answer
Follow this Question
Related Questions
[Closed]multiplayer camera script 2 Answers
How to make a camera work in this circumstance. 1 Answer
Make so that a player cant see the players model? 1 Answer
one camera or several? 1 Answer