Hello all, I would like to understand or just sample code with explains "Projectile Shooting". There is a Demo asset calls Unity Angry Bots https://www.assetstore.unity3d.com/en/#!/content/1917
I like the shooting in this project. I can see how bullets throws and flies over network. I have similar project that players must see their bullets. I made projectile shooting Instantiting game object with rigidbody commponent attached. I have tried many ways PhotonNetwork.Instantiate, OnSerialize...., not fully RPC (because I didn't understand fully RPC method). tried to observe rigidbody, transform. But results are not makes me happy. I found Angry bots project which has already integrated photon networking. But all codes are in JavaScript. Even JS I have tried to understand but all codes have connected with each other. there are too many codes that maakes happen shooting.
There is a link for my first question: http://forum.photonengine.com/discussion/7608/sync-projectile-shooting-with-photon-networking#latest
I hope that someone can help me. Thanks in advance.
I like the shooting in this project. I can see how bullets throws and flies over network. I have similar project that players must see their bullets. I made projectile shooting Instantiting game object with rigidbody commponent attached. I have tried many ways PhotonNetwork.Instantiate, OnSerialize...., not fully RPC (because I didn't understand fully RPC method). tried to observe rigidbody, transform. But results are not makes me happy. I found Angry bots project which has already integrated photon networking. But all codes are in JavaScript. Even JS I have tried to understand but all codes have connected with each other. there are too many codes that maakes happen shooting.
There is a link for my first question: http://forum.photonengine.com/discussion/7608/sync-projectile-shooting-with-photon-networking#latest
I hope that someone can help me. Thanks in advance.