This version (2017/04/15 17:39) was approved by stohrendorf.The Previously approved version (2017/02/02 07:24) is available.

# Collision Policies

## SlopesAreWalls

If any of the front floor checks has a slant at least classified as steep (i.e., at least one of the X or Z axes has a slant of more than $2$ clicks), and the front floor is higher than the current floor, handle it as if it were a wall (override the height with $-32767$).

## SlopesArePits

If any of the front floor checks has a slant at least classified as steep (i.e., at least one of the X or Z axes has a slant of more than $2$ clicks), and the front floor is lower than the current floor, handle it as if it were a pit (override the height with $512$).

The only differences to SlopesAreWalls are the height override and the height check.

## LavaIsPit

If any of the front floor checks has a Death command, handle it as if it were a pit (override the height with $512$).