Just a heads up, RayCasting is extremely complex for a beginner, and requires some fairly high level math.