in which template scripts? i tried the template walkthrough project and it has sticking problems too. i can get stuck at the top of the ramp. from a quick look at the code it doesn't seem to use your feet.z method.
a robust yet simple movement example by george would be nice.
...but i still don't understand why it was possible to completely move into the geometry with the original ellipsoid?