[This][1] is the game in web browser. Now it's 2 cars as I want but the camera is mixed, player 1 has player2's car but controls player1'2 car and vice versa. Now even with mixed cars x.x. You'll see if you test it..
I have been thinking if you could add a id to each player that joins and then connect one camera and one car to one id so there wouldnt be all messed up but then again I'm not sure how to make that out of a prefab. Is there any unique id for each player that I could use or?
Some of the scripts:
ConnectionGUI
RigidAssign
Instantiate
NetworkRigidbody
[1]: https://dl.dropbox.com/u/82835042/Cargame/WebPlayer/WebPlayer.html
[2]: http://download.unity3d.com/support/resources/files/MultiplayerTutorial.pdf
↧