Added working raycasting.