Glad that it works for you, but you should not use min_z. Otherwise, the jump will stop even if you touch a vertical wall or a step or the like. You can keep min_z but then you should check if (normal.z < -0.2) is true, that means if you hit a wall that is pointing down.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends