I am trying to make a prototype of multiplayer (using photon) 3d person shooter (probably a 5v5 scenario) and I did a few research about instantiate vs raycast with regards to bullet. I found out that many would prefer raycast especially if the bullet is so fast that you may not see it with naked eyes and mainly because of performance. In the game I am trying to achieve my characters would have no futuristic / present time weapon so it would be an arrow / stone or other things they use in medieaval times. I would also like these objects to be visible so I decide it would best if I just instantiate object and use rigid bodies with it. My question is performance wise would this be possible ? are there other things I need to consider?
Is possible, but if you are using photon, Fusion is the unique one that could handle it smoothly.
The Fusion Projectiles sample has examples for all types of projectiles and explains the pros and cons of each.
Thanks. Would this be impossible with just the free photon pun?
It will be very hard. Also, there is no “free” photon PUN, just 20 ccu.
Fusion will make you things much easier, since its made with preformance and bandwidth in mind.
You can also use Fish-Networking, its completely free (but with optional awesome pro features), and its much easier to use, and it also uses very low bandwidth.
Fusion is superior to PUN when it comes to to FPS games in every way, it is a bit harder to get started with it though but definitely worth it. Fusion and PUN follow a similar pricing structure where you get 20 CCU for free but Fusion CCU are a bit more expensive.
Thanks for the helpful infos guys !