Search Unity

Finding the End of a Trail Renderer

Discussion in 'Scripting' started by abitofjohn, Apr 4, 2016.

  1. abitofjohn

    abitofjohn

    Joined:
    Nov 6, 2012
    Posts:
    27
    Hi Guys

    Is there a way to know where the end of trail renderers trail is?

    So for example I want to add a light to the tip/end of the trail, is there a way I can get the transform for the last segment of the trail?

    Thanks in advance!

    John