How Do You Change The Ray Casting Position or Angle?

Howdy, I want to be able to use Ray Casting in an FPS so that when my FPC walks near to an object on the floor an animation plays. My problem is that with my current code the ray casting only connects with objects directly in-front of the player. Can anybody tell me how to change the position/angle of my ray casting so that it will be colliding with the floor a certain distance in front of my player.

Here is the code I'm currently working with.

function Update()
    var hit : RaycastHit;

    //check if we're colliding
    if(Physics.Raycast(transform.position, transform.forward, hit, 5))
        //...with a plane
        if(hit.collider.gameObject.tag == "orangeplane")
            //change colour!

Any suggestions on how to do this would be greatly appreciated, Will.

Vector3 offset = new Vector3(0,2,0);
Vector3 dir = new Vector3(0,-2,5).normalized;
Physics.Raycast(transform.position + offset, dir, hit, 5)

This will cast a ray from 2m above your position through a point on the ground 5m in front of you.