How can I send a Players position to each client but have them move only the player which has sent the position movement?
Would RPC calls be best? And how would I do it?
Example code would be nice!!
How can I send a Players position to each client but have them move only the player which has sent the position movement?
Would RPC calls be best? And how would I do it?
Example code would be nice!!
Try This delete the car script if you are using the latest unity 3 version
Felipe
If you use Network.Instantiate (call on one client – creates the object on all clients,) Unity automatically synchs up all clients’ copies.
The trick is, the copies that other people see have to know to ignore the local keyboard. For that, have the script use if(networkView.isMine==true)
.