A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
function Update () { var fwd = transform.TransformDirection (Vector3.forward); if (Physics.Raycast (transform.position, fwd, 1)) {...
http://unity3d.com/support/documentation/ScriptReference/Physics.Raycast.html http://unity3d.com/support/documentation/ScriptReference/RaycastHit.html
Ok this may be alittle abstract I would have a separate game object(invisible) follow the player's transform forward position but not it's...
It means it is harder, yea n unreal, if you want to implement something, you more or less got to know the engine almost inside out The good thing...