How can I get the length % of a Line Trace?

So let’s say the line trace is 75 units long from the very start to the end (100%) but it detect hit at the 33% of it’s total length. How can I get that data with a ‘break hit result’. I want the percent because I need to connect it to a lerp to smoothly switch between two values. Not the hit world location, but the percent of its total size till the hit point.

1 Like

See if this does it:

or

Screenshot_3

Also:

Screenshot_2


Percent as in 0-1 Lerp alpha, of course.

3 Likes

XD Yep, that’s perfect!! Thank you so much :slight_smile: