MultiConnectSDK › Physics
8. Tuning
Start with the defaults, and change one thing at a time.
| What you see | What to try |
|---|---|
| Small objects sink into each other or look soft | Lower Position Slop. For a coin-sized object, try 0.001 |
| Fast objects pass through walls | Lower Ccd Speed Factor, raise Max Ccd Substeps, or raise Fixed Hz |
| Stacks wobble or fall apart | Raise Solver Iterations |
| Objects keep trembling when they should be still | Raise Restitution Velocity Threshold, and check the sleep thresholds |
| Objects never come to rest | Raise the sleep thresholds, or raise Linear Damping |
| Everything moves too slowly | Check your scale: 1 unit is 1 metre, so a 100-unit table falls slowly |
| The game is too slow | Lower Fixed Hz, lower Solver Iterations, and set Broadphase Cell Size close to your object size |
Materials to start from:
| Surface | Static, Dynamic Friction | Restitution | Rolling Friction |
|---|---|---|---|
| Pool ball on cloth | 0.2, 0.2 | 0.1 | 0.01 |
| Ball against ball | 0.05, 0.05 | 0.95 | 0 |
| Rubber | 0.9, 0.8 | 0.7 | 0.02 |
| Ice | 0.05, 0.02 | 0.1 | 0 |
| Wood | 0.5, 0.4 | 0.3 | 0.02 |
Change settings on the server and on players together, because different values give different results.

