i added a checking distance function by raycast method for the tutorial, will work on clock next