Initial raycollision test