Wall detection physics | ScratchStats