Physics Issues
Posted: Sun Mar 22, 2009 9:36 pm
I'm making a platformer and before i get too involved with it i wanted to clear up a couple basic problems i've been having with the physics.
The first one is that if if my character jumps and hits a wall, he just sticks there as long as the arrow key is held down.
The second problem is that sometimes while stationary, if the player is too close to the edge of the platfom (even though it's completely horizontal) He'll just start to slide off of it, one pixel at a time.
Does anyone know how to fix this? Seriously annoying...
The first one is that if if my character jumps and hits a wall, he just sticks there as long as the arrow key is held down.
The second problem is that sometimes while stationary, if the player is too close to the edge of the platfom (even though it's completely horizontal) He'll just start to slide off of it, one pixel at a time.
Does anyone know how to fix this? Seriously annoying...