Implemented vertical distance (collision warning)

also added semicolon to previous commit (i’ll remember eventually!!)