mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-10-02 11:50:38 +08:00
Fixed smoothing default and removed override in server game example
This commit is contained in:
1 parent
1765c2a1a1
commit
e4e424e74b
2 files changed
+1
-2
No files matched your search
@@ -50,7 +50,7 @@ GarageServer.prototype.registerSocketEvents = function (options) {
|
||||
}
|
||||
socket.emit('state', {
|
||||
physicsDelta: (options.physicsInterval ? options.physicsInterval : 15) / 1000,
|
||||
smoothingFactor: options.smoothingFactor ? options.smoothingFactor : 1,
|
||||
smoothingFactor: options.smoothingFactor ? options.smoothingFactor : 0.3,
|
||||
interpolation: options.interpolation ? options.interpolation : false,
|
||||
interpolationDelay: options.interpolationDelay ? options.interpolationDelay : 100,
|
||||
pingInterval: options.pingInterval ? options.pingInterval : 2000,
|
||||
|
||||
Reference in new issue
Block a user