* Blue is for object collision layer, and the meta-tile for tile-based.
* It is caused by server correcting client's position after the prediction was done. Anyway, no need to go further than that on networking theories.
Player's shape hit the very edge of the solid tile, it does NOT pass.
EXAMPLE 02 - OBJECT-BASED COLLISION BEHAVIOR (CLIENT BEHAVIOR)
Player's shape hits the edge of the solid object and then passes it.
So, my question is:
How can I force Object Collision on client (EXAMPLE 02) to behave just like Tile Collision on server (EXAMPLE 01), and why does object collision ignore those corners?
--
You received this message because you are subscribed to the Google Groups "melonJS - A lightweight HTML5 game engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to melonjs+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
onCollision: function(response, other) {
}