Closed KingCosmic closed 6 months ago
There seems to be an over-correction (at least for this example) in
It becomes visible when the TILE_BIAS
is increased and the player is moved way over the tile during the collision (instead of passing though). Removing the if
stabilizes it (although the real solution probably needs to refine it to apply it only to certain cases).
Had a quick look and the player collides happily with the 'ground' layer in the middle, just not the 'kenny' later on the left. Needs further investigation, but to do with varying tile sizes rather than anything else.
Thank you for submitting this issue (5 years ago!). We have fixed this and the fix has been pushed to the master
branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.
👴🏻
Version
Phaser Version: 3.16.2
Operating system: Windows
Browser: Chrome, but happens on other as well
Description
The player in this example seems to not be getting it's collider (pressing C to show debug before it falls off screen) Broken Example
Additional Information
Found via yassin#3588 who asked about it in the discord, I was unable to find a reason it was happening through a quick glance and so made this issue.