I have created a platform game (non-scrolling) that is based around a grid of tiles. The problem I'm having is that when the character is moving along, every so often the character gets stuck on one of the tiles (I assume it's something to do with it sticking up a tiny bit). The problem is that when I print the Y position, they all show the same number.
I do convert all my pixels into meters by dividing by 20.0 and I turn them back by multiplying by 20.0 but I still get this problem.
Any ideas?
I do convert all my pixels into meters by dividing by 20.0 and I turn them back by multiplying by 20.0 but I still get this problem.
Any ideas?