ray casting, get the closest collision
ray casting by cursor select