Collisions, phaser and snapshot interpolation #139
Unanswered
j4n7
asked this question in
Help / Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm working with my brother on an Open Source Project using Phaser, Node.js, Geckos with Snapshot Interpolation. It might help you if you want to do something similar.
Project
Problem is that by using Snapshot Interpolation and Server Reconciliation as it is presented in the example, makes Phaser Collisions behave oddly.
What happens is that players can overlap with other players and walls when they should not. I thing that happens when Geckos interpolates the movement and a player/wall is in the way. It will create a straight line wheter there is a collision or not, crossing and overlaping the player when it should not. Same thing can happen with the player is correcting it position due to Server Reconciliation.
Don't now how to handle this situation or if this method is suited for what I want to acomplished.
Cheers.
Beta Was this translation helpful? Give feedback.
All reactions