Collision Issue - Char is penetrating the surface for a moment



  • When my characters lands, he penetrate the surface for a moment, the came back for where he must be. It is how the draw the scene before the collision detection. Is for just a frame.

    I am using: FlxG.collide(ground, player);

    Here is a print of the moment:
    alt text

    Anyone know how to fix it?



  • Try doing FlxG.collide(ground, player) after super.update(elapsed), if not already



  • That is it!! Really thanks


Log in to reply