Thanks for your reply! The problem with this code is that when the gravity is a high value the player is constantly pulled to te ground and can't walk stairs / step over small obstacles anymore.

If the gravity is a low value, the player doens't fall fast enough to make it look realistic...any ideas?