mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-07-12 00:40:09 +08:00
Fixed client prediction and prepped for interpolation
This commit is contained in:
@@ -3,7 +3,7 @@ $(function () {
|
||||
logging: true,
|
||||
clientSidePrediction: true,
|
||||
//interpolation: true,
|
||||
onUpdatePhysics: function (state, inputs) {
|
||||
onUpdatePlayerPhysics: function (state, inputs) {
|
||||
var i = 0;
|
||||
if (!state.x && !state.y) {
|
||||
state.x = 0;
|
||||
|
||||
Reference in New Issue
Block a user