wall/ground detection | ScratchStats