Tile Region
It’s been a week without going by train to work. But now that I can take it again, I immediately managed to fix a bug. It turned out that the tile region was wrong. So not enough tiles were checked and therefore the player could move into walls. With that fixed the rotating collider seems to be working a lot better with the new code. However I still have at least one reproducible case which gets the player stuck in a wall when it’s rotating. That is for the rest of the week to fix. But it is basically the problem that it rotates into the wall and therefore the next frame it is stuck.

Last modified: February 14, 2023