You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Mario,
there is some form of client-side prediction in the framework?
I thought about putting some kind of prediction based on user input in "constructEntityDescription" of "KeboardInputTrait" (transformed for my needs "KeboardMouseInputTrait") just simply processing user input and waiting for the next "SERVER_FULL_UPDATE" overwrites the "world state".
Hello Mario,
there is some form of client-side prediction in the framework?
I thought about putting some kind of prediction based on user input in "constructEntityDescription" of "KeboardInputTrait" (transformed for my needs "KeboardMouseInputTrait") just simply processing user input and waiting for the next "SERVER_FULL_UPDATE" overwrites the "world state".
constructEntityDescription: function (gameTick, wantsFullUpdate)
{
this.processInputNow ()
return {
EntityID: this.entityid,
Input: this.input.constructInputBitmask (),
inputLook: this.input.constructInputLook ()
}
},
processInputNow: function ()
{
this.attachedEntity.updatePosition ()
this.attachedEntity.updateLook ()
this.attachedEntity.updateFire ()
}
Do you think that is a correct method?
There are better ways?
You're the only person who can help me, thank you anyway!
The text was updated successfully, but these errors were encountered: