Fix #896 support for non-flat terrain

Non-flat terrain support in PhysicsCharacter. To test support for non-flat terrain, a modified character sample is provided in commit 94ae6f9. To test it in your working tree, simply checkout commit 539a441 in git (i.e., the commit prior to the revert).