- Home /
Unity Networking - Instantiation
I have a small problem, when I have 2 or more players on my multiplayer network, when I click to shoot with the one player the other player proceeds to shoot as well and vice versa. I need it that both players can instantiate projectiles independently.
Any Advice? Thanks
Answer by ScroodgeM · Aug 10, 2012 at 08:53 PM
methinks you have a input controller on player/gun that handles fire button pressing and shoots. so you just need to disable/avoid this handling on remote player.
explain how you handle fire button and shoot to got explained answer.
Thank you this worked well, I just had to move all the controls to the client as opposed to the player. The refractoriing of the code was a bit of a mission as the game is an Action RPG Stratergy Shooter so many variables and control systems had to be re worked, but it works perfectly now. Thanks again.
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
Multiplayer in Action RPG, best approach? 2 Answers
Multiplayer Networking in Unity? 1 Answer
Multiplayer Problems 1 Answer
RPC instantiate owner problem 0 Answers