add amichai code for detecting runner-terrain collision, as a requirement for jumping