- Home /
Networking Solution with Physics (Authoritative?)
I'm relatively new to Unity 3D, I've learned enough to make a top-down space shooter with physics (unity built-in). The focus right now is to learn a network architecture that works for this game.
What are some suggestions that you have that will allow me to create an authoritative server (or semi, if someone can explain that) that would allow me to prevent future cheating, and be able to run physics on server?
I've looked into Photon, but I hear that you can only use it to connect clients, not really run a game server. And Unity built-in networking I heard isn't as good for some reason.
How would I even do this? I understand networkview doesn't convey physics info. I figure I probably could serialize Velocity and Angular Velocity along with position and rotation to update any players and NPCs anyway, no? Kind of a "dead reconkoning" system where all clients would simulate physics anyway according to events sent by server such as NPCs Thrusting (accelerating) or Turning or Shooting or Colliding, but to "reckon" all positions and physics info (velocity and angular velocity) of all moving entities every 200ms or so.
Does that even make sense, or am I far off the mark? .
Your answer
![](https://koobas.hobune.stream/wayback/20220613105052im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to do a MMO Space Game with UNET 0 Answers
Unity networking tutorial? 6 Answers
Different movement speeds over network 1 Answer
UNET Health isn't syncing 1 Answer