Authoritative PUN Server

nisanb

New member
Hi,
The setup I made is that a master client is a game server hosted by me. Only servers that I initialize and creates rooms, thus being the Master client.

I'm trying to figure out what is the best starting point to make the movement of Opsive an authoritative movement.

Does the PUN addon already implements authoritative movement ? If yes, where can I view the relevant code snippet that does it ?
If not, where should I start ?

I saw some where that the Health are authoritative. Does that mean that hitting players is authoritative too ?


Thanks,
Nisan.
 
Thanks for the reply Justin.

Why is PUN not authoritative ?
I could potentially make the Master client authoritative to others, considering he controls the movement of everyone?
 
There's a lot that goes into making a game authoritative and since PUN is not normally used for server authoritative games the PUN add-on doesn't include it. Things like client side prediction and server reconciliation are two major features that the add-on doesn't include.
 
Top