Well, it's my first post here.
I'm making a platform game based on box2d engine, it's work pretty good... but, have an error that I can't handle by myself (cos I'm new on box2d programming too) =(
When I move the player for left/right (always when the player hit the ground or other stuff, and still in there), it doesn't move... as if it were stuck in the ground.
I set
playerBodyDef.fixedRotation = true;
but not works. But if I apply any kind of positive y-Axis impulse (gogogo up) to the player (that does it stop from touching the ground), it moves.
I think there's something I haven't learned yet... can someone help me?
Game link: http://seriouseliexpert.net63.net/Taken.swf
I'm making a platform game based on box2d engine, it's work pretty good... but, have an error that I can't handle by myself (cos I'm new on box2d programming too) =(
When I move the player for left/right (always when the player hit the ground or other stuff, and still in there), it doesn't move... as if it were stuck in the ground.
I set
playerBodyDef.fixedRotation = true;
but not works. But if I apply any kind of positive y-Axis impulse (gogogo up) to the player (that does it stop from touching the ground), it moves.
I think there's something I haven't learned yet... can someone help me?
Game link: http://seriouseliexpert.net63.net/Taken.swf