Search the Community
Showing results for tags 'ray'.
Found 1 result
Hello, I`m building my new Multiplayer game using FPSE and Unity`s in-built netoworking . I hope you know that. I have just started to learn it from here. https://unity3d.com/learn/tutorials/s/multiplayer-networking The problem I`m facing is that I wanna give the damage from my Player`s gun to another player(client). I`ve setup the game till this turorial https://unity3d.com/learn/tutorials/temas/multiplayer-networking/shooting-single-player?playlist=29690 As you know that FPSE gun uses Raycasting to give damage to players. So how to give the damage from gun scripts to clients(players). Any idea? As Unity tutorial has used the collision to give damage to clients. I hope you know understand what I mean to say. If I see I`ll upload the weapon Code. Here is ScreenShot of my game. I`ve changed the codes of Player movements. https://unity3d.com/learn/tutorials/topics/multiplayer-networking/testing-multiplayer-movement?playlist=29690