here is the code..  just in case my server goes down    function onPresolve(presolve){    for (var i = 0; i < presolve.contactEquations.length; i++) {        c = presolve.contactEquations[i]        f = presolve.frictionEquations[i];        if (c.bodyA.parent.sprite && c.bodyA.parent.sprite.name === 'mario'){ //define here who is allowed to jump through            var yAxis = p2.vec2.fromValues(0, 1);            var y = p2.vec2.dot(c.normalA, yAxis);            if (c.bodyB.parent.sp