Raycast modified