Came up with better way to tell which side things are colliding from.