Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Networking
Networking
 for
Networking
 for
  Physics Programmers
Networking
 for
  Physics Programmers
          Glenn Fiedler
Networking
 for
  Physics Programmers
          Glenn Fiedler
         Sony Santa Monica
Networking
 for
  Physics Programmers
            Glenn Fiedler
          Sony Santa Monica
        www.gafferongames.com
DEMO
?
TCP        UDP

      IP
TCP        UDP

      IP
Lost Packet
TCP        UDP

      IP
TCP        UDP

      IP
TCP        UDP

      IP
“The Internet is not something you just
    dump things on. It’s not a big truck.
          It’s a series of tubes.”
     ...
The Internet
The Internet
           Data goes
           in here...
Data leaves your house...
Tube gets
 bigger...
Data arrives
at your ISP...
Lots and lots
 of tubes...
Data flows
across country
in a big tube...
Tube gets
 smaller
Enters destination house...
Data arrives at
 destination!
TCP        UDP

      IP
TCP        UDP

      IP
TCP        UDP

      IP
TCP        UDP

      IP
TCP        UDP

      IP
Sony Bandwidth Probe
 30th Jan - 18th Feb 2010
Sony Bandwidth Probe
 30th Jan - 18th Feb 2010
Sony Bandwidth Probe
 30th Jan - 18th Feb 2010
Sony Bandwidth Probe
 30th Jan - 18th Feb 2010
Sony Bandwidth Probe
 30th Jan - 18th Feb 2010




    2.7 Million Samples
Download Bandwidth by Territory


100


75


50


25


 0
              SCEA                SCEE                SCEJ      ...
Download Bandwidth by Territory


100


75


50
       8%
25


 0
              SCEA                SCEE                SC...
Download Bandwidth by Territory


100


75


50
          11%
25


 0
              SCEA                SCEE              ...
Download Bandwidth by Territory


100


75

                   81%
50


25


 0
              SCEA                SCEE    ...
Download Bandwidth by Territory


100


75


50


25


 0
              SCEA                SCEE                SCEJ      ...
Download Bandwidth by Territory


100


75


50                       7%

25


 0
              SCEA                SCEE  ...
Download Bandwidth by Territory


100


75
                           9.5%
50


25


 0
              SCEA                ...
Download Bandwidth by Territory


100


75                                 83.5%
50


25


 0
              SCEA          ...
Download Bandwidth by Territory


100


75


50


25


 0
              SCEA                SCEE                SCEJ      ...
Download Bandwidth by Territory


100
                                                       97%
75


50


25


 0
       ...
Download Bandwidth by Territory


100


75


50


25


 0
              SCEA                SCEE                SCEJ      ...
Download Bandwidth by Territory


100                                                                      85%
75


50


2...
Download Bandwidth by Territory


100


75


50


25


 0
              SCEA                SCEE                SCEJ      ...
Upload Bandwidth by Territory


100


75


50


25


  0
               SCEA               SCEE                SCEJ       ...
Upload Bandwidth by Territory


100


75


50
      6%
25


  0
               SCEA               SCEE                SCEJ...
Upload Bandwidth by Territory


100


75


50
         20%
25


  0
               SCEA               SCEE                ...
Upload Bandwidth by Territory


100


75
                74%
50


25


  0
               SCEA               SCEE         ...
Upload Bandwidth by Territory


100


75


50


25


  0
               SCEA               SCEE                SCEJ       ...
Upload Bandwidth by Territory


100


75
                         10%
50


25


  0
               SCEA               SCEE...
Upload Bandwidth by Territory


100


75
                             28%
50


25


  0
               SCEA               ...
Upload Bandwidth by Territory


100


75                                 62%
50


25


  0
               SCEA            ...
Upload Bandwidth by Territory


100


75


50


25


  0
               SCEA               SCEE                SCEJ       ...
Upload Bandwidth by Territory


100
                                                       98%
75


50


25


  0
        ...
Upload Bandwidth by Territory


100


75


50


25


  0
               SCEA               SCEE                SCEJ       ...
Upload Bandwidth by Territory


100
                                                                            90%

75


...
Upload Bandwidth by Territory


100


75


50


25


  0
               SCEA               SCEE                SCEJ       ...
Upload Bandwidth by Territory


100


75
               KOREA WINS!!!
50


25


  0
               SCEA               SCEE...
Minimum Spec Up/Down (%)



              99.1%

              97.8%
%



              96.0%

              93.9%
    90....
Minimum Spec Up/Down (%)



              99.1%           64kbps
              97.8%
%



              96.0%

           ...
Minimum Spec Up/Down (%)



              99.1%           64kbps
              97.8%
%



              96.0%

           ...
The Internet Sucks
UDP Reflector Experiment

     Coded a simple UDP Reflector
   VPS in Seattle, Atlanta and Sydney
Sent 256 byte packets @ 30...
Round Trip Time - WiFi (ms)
400




300




200




100




  0                                   5 minutes
         Seatt...
Round Trip Time - WiFi (ms)
400




300




200




100




  0                                   5 minutes
         Seatt...
Round Trip Time - WiFi (ms)
400




300




200




100




  0                                   5 minutes
         Seatt...
Round Trip Time - WiFi (ms)
400




300




200




100




  0                                   5 minutes
         Seatt...
Round Trip Time - Wired (ms)
400




300




200




100




  0                                    5 minutes
          Se...
Round Trip Time - Wired (ms)
400




300




200




100




  0                                    5 minutes
          Se...
Round Trip Time - Wired (ms)
400




300




200




100




  0                                    5 minutes
          Se...
Virgin America In-Flight WiFi
1100




825




550




275




   0                                    5 minutes
         ...
Virgin America In-Flight WiFi
1100




825




550




275




   0                                    5 minutes
         ...
Virgin America In-Flight WiFi
1100




825




550




275




   0                                    5 minutes
         ...
Virgin America In-Flight WiFi
1100




825




550




275




   0                                    5 minutes
         ...
Virgin America In-Flight WiFi
1100




825




550




275




   0                                    5 minutes
         ...
Intercontinental Hotel - Sunday Night
400




300




200




100




  0                                        5 minutes...
Intercontinental Hotel - Sunday Night
400




300




200




100




  0                                        5 minutes...
Intercontinental Hotel - Sunday Night
400




300




200




100




  0                                        5 minutes...
Intercontinental Hotel - Sunday Night
400




300




200




100




  0                                        5 minutes...
Intercontinental Hotel - Monday Night
400




300




200




100




  0                                    5 minutes
   ...
Intercontinental Hotel - Monday Night
400




300




200




100
                    ?!
  0                              ...
The Internet Sucks
The Internet Sucks*
The Internet Sucks*




            * Best effort packet delivery only
RTT Spikes
600

540

480

420

360

300

240

180

120

60


      0                10 seconds
RTT Spikes
600

540

480       A
420

360

300

240

180

120

60


      0                    10 seconds
RTT Spikes
600

540

480       A
420

360

300

240
          B
180

120

60


      0                    10 seconds
RTT Spikes
600

540

480       A
420

360

300

240           C
          B
180

120

60


      0                        ...
RTT Spikes
600

540

480       A
420

360

300

240           C
          B
180                    D
120

60


      0    ...
DEMO
Authority                   Remote View




 quantize physics state        quantize physics state
  pull input and state  ...
struct Input
UDP Packet            {
                         bool left;
                         bool right;
            ...
struct Input
UDP Packet            {
                         bool left;
                         bool right;
            ...
struct Input
UDP Packet            {
                         bool left;
                         bool right;
            ...
struct Input
UDP Packet            {
                         bool left;
                         bool right;
            ...
struct Input
UDP Packet            {
                         bool left;
                         bool right;
            ...
struct RigidBody
{
   int id;
   vec3 position;
   quat orientation;
   vec3 linearVelocity;
   vec3 angularVelocity;
   b...
priority accumulator
jitter buffer
DEMO
Problem: How to keep the state consistent?
DEMO
Authority
Like being the server for an object
Authority Rules
 1. Player Authority
 2. Tie-Break Authority
 3. Interaction Authority
How to resolve conflicts?
How to resolve conflicts?
  Lowest player id wins
DEMO
Late Joins
Problem: Joining after world is changed
DEMO
?
Corrections
Fix incorrect state on late join
Three Cases
First Two...
Corrections
Three types of corrections:
  Agree, Disagree, Don’t Care
Confirmed bit
Per-Object, Per-player
Avoids trashing state
DEMO
Three Cases
Reverse Corrections
Summary
Summary
Hide latency with authority scheme
Summary
Hide latency with authority scheme
 Handle late join using corrections
Summary
Hide latency with authority scheme
 Handle late join using corrections
   Best for cooperative games
Questions?
Thank you
Glenn Fiedler
www.gafferongames.com



   @gafferongames
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Networking For Physics Programmers
Upcoming SlideShare
Loading in …5
×

Networking For Physics Programmers

626 views

Published on

Via http://gafferongames.com/2010/03/11/gdc-2010-networked-physics-slides-demo/

This talk is about how to network a physics simulation over the internet. I will show you how to hide latency when player’s interact with physically simulated objects, and how to support late join to players can join or leave the game at any time - all without requiring a server.

Published in: Technology, Business

Networking For Physics Programmers

  1. 1. Networking
  2. 2. Networking for
  3. 3. Networking for Physics Programmers
  4. 4. Networking for Physics Programmers Glenn Fiedler
  5. 5. Networking for Physics Programmers Glenn Fiedler Sony Santa Monica
  6. 6. Networking for Physics Programmers Glenn Fiedler Sony Santa Monica www.gafferongames.com
  7. 7. DEMO
  8. 8. ?
  9. 9. TCP UDP IP
  10. 10. TCP UDP IP
  11. 11. Lost Packet
  12. 12. TCP UDP IP
  13. 13. TCP UDP IP
  14. 14. TCP UDP IP
  15. 15. “The Internet is not something you just dump things on. It’s not a big truck. It’s a series of tubes.” Sen. Ted Stevens
  16. 16. The Internet
  17. 17. The Internet Data goes in here...
  18. 18. Data leaves your house...
  19. 19. Tube gets bigger...
  20. 20. Data arrives at your ISP...
  21. 21. Lots and lots of tubes...
  22. 22. Data flows across country in a big tube...
  23. 23. Tube gets smaller
  24. 24. Enters destination house...
  25. 25. Data arrives at destination!
  26. 26. TCP UDP IP
  27. 27. TCP UDP IP
  28. 28. TCP UDP IP
  29. 29. TCP UDP IP
  30. 30. TCP UDP IP
  31. 31. Sony Bandwidth Probe 30th Jan - 18th Feb 2010
  32. 32. Sony Bandwidth Probe 30th Jan - 18th Feb 2010
  33. 33. Sony Bandwidth Probe 30th Jan - 18th Feb 2010
  34. 34. Sony Bandwidth Probe 30th Jan - 18th Feb 2010
  35. 35. Sony Bandwidth Probe 30th Jan - 18th Feb 2010 2.7 Million Samples
  36. 36. Download Bandwidth by Territory 100 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  37. 37. Download Bandwidth by Territory 100 75 50 8% 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  38. 38. Download Bandwidth by Territory 100 75 50 11% 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  39. 39. Download Bandwidth by Territory 100 75 81% 50 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  40. 40. Download Bandwidth by Territory 100 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  41. 41. Download Bandwidth by Territory 100 75 50 7% 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  42. 42. Download Bandwidth by Territory 100 75 9.5% 50 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  43. 43. Download Bandwidth by Territory 100 75 83.5% 50 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  44. 44. Download Bandwidth by Territory 100 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  45. 45. Download Bandwidth by Territory 100 97% 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  46. 46. Download Bandwidth by Territory 100 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  47. 47. Download Bandwidth by Territory 100 85% 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  48. 48. Download Bandwidth by Territory 100 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 1 mbps 1 - 2 mbps 2 - 8 mbps 8 - 50 mbps 50mbps+
  49. 49. Upload Bandwidth by Territory 100 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  50. 50. Upload Bandwidth by Territory 100 75 50 6% 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  51. 51. Upload Bandwidth by Territory 100 75 50 20% 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  52. 52. Upload Bandwidth by Territory 100 75 74% 50 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  53. 53. Upload Bandwidth by Territory 100 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  54. 54. Upload Bandwidth by Territory 100 75 10% 50 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  55. 55. Upload Bandwidth by Territory 100 75 28% 50 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  56. 56. Upload Bandwidth by Territory 100 75 62% 50 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  57. 57. Upload Bandwidth by Territory 100 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  58. 58. Upload Bandwidth by Territory 100 98% 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  59. 59. Upload Bandwidth by Territory 100 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  60. 60. Upload Bandwidth by Territory 100 90% 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  61. 61. Upload Bandwidth by Territory 100 75 50 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  62. 62. Upload Bandwidth by Territory 100 75 KOREA WINS!!! 50 25 0 SCEA SCEE SCEJ SCEK 0 - 256 kbps 256 - 512 kbps 512 - 2048 kbps 2048kpbs - 50mbps 50mbps+
  63. 63. Minimum Spec Up/Down (%) 99.1% 97.8% % 96.0% 93.9% 90.0 92.5 95.0 97.5 100.0 64kbps+ 128kbps+ 192kbps+ 256kbps+
  64. 64. Minimum Spec Up/Down (%) 99.1% 64kbps 97.8% % 96.0% 93.9% 90.0 92.5 95.0 97.5 100.0 64kbps+ 128kbps+ 192kbps+ 256kbps+
  65. 65. Minimum Spec Up/Down (%) 99.1% 64kbps 97.8% % 96.0% 93.9% 90.0 92.5 95.0 97.5 100.0 64kbps+ 128kbps+ 192kbps+ 256kbps+
  66. 66. The Internet Sucks
  67. 67. UDP Reflector Experiment Coded a simple UDP Reflector VPS in Seattle, Atlanta and Sydney Sent 256 byte packets @ 30pps from LA and recorded when they bounced back... (This is roughly 64kbps)
  68. 68. Round Trip Time - WiFi (ms) 400 300 200 100 0 5 minutes Seattle Atlanta Sydney
  69. 69. Round Trip Time - WiFi (ms) 400 300 200 100 0 5 minutes Seattle Atlanta Sydney
  70. 70. Round Trip Time - WiFi (ms) 400 300 200 100 0 5 minutes Seattle Atlanta Sydney
  71. 71. Round Trip Time - WiFi (ms) 400 300 200 100 0 5 minutes Seattle Atlanta Sydney
  72. 72. Round Trip Time - Wired (ms) 400 300 200 100 0 5 minutes Seattle Atlanta Sydney
  73. 73. Round Trip Time - Wired (ms) 400 300 200 100 0 5 minutes Seattle Atlanta Sydney
  74. 74. Round Trip Time - Wired (ms) 400 300 200 100 0 5 minutes Seattle Atlanta Sydney
  75. 75. Virgin America In-Flight WiFi 1100 825 550 275 0 5 minutes Seattle Atlanta Sydney
  76. 76. Virgin America In-Flight WiFi 1100 825 550 275 0 5 minutes Seattle Atlanta Sydney
  77. 77. Virgin America In-Flight WiFi 1100 825 550 275 0 5 minutes Seattle Atlanta Sydney
  78. 78. Virgin America In-Flight WiFi 1100 825 550 275 0 5 minutes Seattle Atlanta Sydney
  79. 79. Virgin America In-Flight WiFi 1100 825 550 275 0 5 minutes Seattle Atlanta Sydney
  80. 80. Intercontinental Hotel - Sunday Night 400 300 200 100 0 5 minutes Seattle Atlanta Sydney
  81. 81. Intercontinental Hotel - Sunday Night 400 300 200 100 0 5 minutes Seattle Atlanta Sydney
  82. 82. Intercontinental Hotel - Sunday Night 400 300 200 100 0 5 minutes Seattle Atlanta Sydney
  83. 83. Intercontinental Hotel - Sunday Night 400 300 200 100 0 5 minutes Seattle Atlanta Sydney
  84. 84. Intercontinental Hotel - Monday Night 400 300 200 100 0 5 minutes Seattle Atlanta Sydney
  85. 85. Intercontinental Hotel - Monday Night 400 300 200 100 ?! 0 5 minutes Seattle Atlanta Sydney
  86. 86. The Internet Sucks
  87. 87. The Internet Sucks*
  88. 88. The Internet Sucks* * Best effort packet delivery only
  89. 89. RTT Spikes 600 540 480 420 360 300 240 180 120 60 0 10 seconds
  90. 90. RTT Spikes 600 540 480 A 420 360 300 240 180 120 60 0 10 seconds
  91. 91. RTT Spikes 600 540 480 A 420 360 300 240 B 180 120 60 0 10 seconds
  92. 92. RTT Spikes 600 540 480 A 420 360 300 240 C B 180 120 60 0 10 seconds
  93. 93. RTT Spikes 600 540 480 A 420 360 300 240 C B 180 D 120 60 0 10 seconds
  94. 94. DEMO
  95. 95. Authority Remote View quantize physics state quantize physics state pull input and state receive packets serialize packet (write) serialize packets (read) send packet push most recent input+state update(dt) update(dt)
  96. 96. struct Input UDP Packet { bool left; bool right; bool up; uint16 sequence bool down; bool space; input }; struct State { state int count; RigidBody objects[count]; };
  97. 97. struct Input UDP Packet { bool left; bool right; bool up; uint16 sequence bool down; bool space; input }; struct State { state int count; RigidBody objects[count]; };
  98. 98. struct Input UDP Packet { bool left; bool right; bool up; uint16 sequence bool down; bool space; input }; struct State { state int count; RigidBody objects[count]; };
  99. 99. struct Input UDP Packet { bool left; bool right; bool up; uint16 sequence bool down; bool space; input }; struct State { state int count; RigidBody objects[count]; };
  100. 100. struct Input UDP Packet { bool left; bool right; bool up; uint16 sequence bool down; bool space; input }; struct State { state int count; RigidBody objects[count]; };
  101. 101. struct RigidBody { int id; vec3 position; quat orientation; vec3 linearVelocity; vec3 angularVelocity; bool active; };
  102. 102. priority accumulator
  103. 103. jitter buffer
  104. 104. DEMO
  105. 105. Problem: How to keep the state consistent?
  106. 106. DEMO
  107. 107. Authority Like being the server for an object
  108. 108. Authority Rules 1. Player Authority 2. Tie-Break Authority 3. Interaction Authority
  109. 109. How to resolve conflicts?
  110. 110. How to resolve conflicts? Lowest player id wins
  111. 111. DEMO
  112. 112. Late Joins
  113. 113. Problem: Joining after world is changed
  114. 114. DEMO
  115. 115. ?
  116. 116. Corrections Fix incorrect state on late join
  117. 117. Three Cases
  118. 118. First Two...
  119. 119. Corrections
  120. 120. Three types of corrections: Agree, Disagree, Don’t Care
  121. 121. Confirmed bit Per-Object, Per-player Avoids trashing state
  122. 122. DEMO
  123. 123. Three Cases
  124. 124. Reverse Corrections
  125. 125. Summary
  126. 126. Summary Hide latency with authority scheme
  127. 127. Summary Hide latency with authority scheme Handle late join using corrections
  128. 128. Summary Hide latency with authority scheme Handle late join using corrections Best for cooperative games
  129. 129. Questions?
  130. 130. Thank you
  131. 131. Glenn Fiedler www.gafferongames.com @gafferongames

×