title: Substracting fixed length from vector3 line (two vector3 points)?
body: <p>I make a line by dragging my mouse using the LineRenderer with an object at the end, but I need the line to stop slightly before the &quot;end point&quot; so it doesn't cover the &quot;object&quot; at the end.</p>
  <p>I know I can get a point on the line using Lerp, and then use that point as the &quot;new end position&quot;:</p>
  <pre><code>Vector3 newLineEndPoint = Vector3.Lerp(lineStartPoint, lineEndPoint, 0.9f);
  lineRenderer.SetPosition(lineRenderer.positionCount - 1, newLineEndPoint);
  </code></pre>
  <p>But this uses a kind of &quot;ratio&quot;, so the gap between the end of the line and my object is different depending on the length of the line.</p>
  <p>How could I simply &quot;substract&quot; from the length of the line a fixed value, for example 1.5f, or even the size of my gameobject at the end of the line, and use that new Vector3 point as my &quot;end position&quot; for the line renderer?</p>