mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-10-03 12:01:24 +08:00
Moved interpolation & prediction options to server.
This commit is contained in:
1 parent
5991f725d9
commit
e5fe1487ff
4 files changed
+27
-23
No files matched your search
@@ -6,8 +6,6 @@ $(function () {
|
||||
|
||||
GarageServerIO.initializeGarageServer('http://garageserver_io.jbillmann.c9.io', {
|
||||
logging: true,
|
||||
clientSidePrediction: true,
|
||||
interpolation: true,
|
||||
onUpdatePlayerPhysics: onUpdatePlayerPhysics,
|
||||
onInterpolation: function (id, previousState, targetState, amount) {
|
||||
var interpolationState = {};
|
||||
|
||||
Reference in new issue
Block a user