Diagonal movement on 8x8 tiles

I’m having problems moving diagonally along tiles on a tilemap with 8x8 pixel tiles. In some instances when sliding towards corners the player character jumps around weirdly.

8x8-diagonally

This only seems to happen on 8x8 pixel tiles.

Example codepen: https://codepen.io/dnlsndbrg/pen/xxXvYjj

:wave:

If you’re using Arcade Physics then try { tileBias: 8 } or { tileBias: 4} in the physics config.

Beautiful, that fixes it! :cookie: