Add collision detection
Add detection of Ray for Detector