I’m trying to get a vector direction from two given parallel lines.
What I’m basically trying to achieve is adding an offset at the top and the sides of the specified amounts.
Starting with this:
Trying to end up with this.
The side offsets are easy because I can get the vector from the top or bottom edges.
If I get the direction like this, the offset is on an angle, and the offset becomes too narrow if the angle is steep.
vector = bottom.start.position - top.end.position