Update raycast_object_space.py

No more "index is out of scope" error.
Update raycast_object_space.py
Update raycast_object_space.py
Merge pull request #366 from Kosvor/master

Update raycast_object_space.py