Search Unity

How to creat a ray of light

Discussion in 'Scripting' started by raviraj_vdy, May 18, 2009.

  1. raviraj_vdy

    raviraj_vdy

    Joined:
    May 14, 2009
    Posts:
    309
    Hi Guys

    Im stuck with a problem what I want to create is a ray of light from a origin point to any direction.
    like in the attached image.

    thanx.
     

    Attached Files:

  2. Alvarus

    Alvarus

    Joined:
    Apr 10, 2009
    Posts:
    203
  3. raviraj_vdy

    raviraj_vdy

    Joined:
    May 14, 2009
    Posts:
    309
    Hi Alvarus

    Thank you for the help, this is what i need but in the Line Renderer under the script section i was unable to find any control on the Start Width End Width. pls c the attached image.

    If there is any way to control it pls let me know

    thanx
     

    Attached Files:

  4. Alvarus

    Alvarus

    Joined:
    Apr 10, 2009
    Posts:
    203
  5. raviraj_vdy

    raviraj_vdy

    Joined:
    May 14, 2009
    Posts:
    309
    Hi Alvarus

    Thank you for the help, I try it out let u know.

    thanx