What's the appropriate way to make authoritative movement?
Options
Basically , i want to send "Target Position" to the server , the server calculates trip distance,velocity and direction and it sends it to the client for interpolation/extrapolation.
I know i should use custom operation to send the target position to server , but how should I update that to the other clients (i guess i should send position based on time)? Events?
I know i should use custom operation to send the target position to server , but how should I update that to the other clients (i guess i should send position based on time)? Events?
0
Comments
-
Yes. You can send out events when you handle the custom operation, or schedule a method to send updates in certain intervals, like in this example:
viewtopic.php?f=5&t=2831&p=13081&hilit=schedule#p130810