Finally got body and rock detection working.