Now the example detects a collition but stops. Needs more debug