How to detect if a bullet hits a slope