Created by: vkter
Added ray detection maximum distance limit parameter. Used to control the length of each light